Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437 MB / 0.7103 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6777/0.6791, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.01063/0.6898, allocations: 5.987 MB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1831/0.873, allocations: 150.8 MB / 1.17 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.8743, allocations: 19.94 kB / 1.17 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000956/0.8753, allocations: 237.7 kB / 1.171 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.8778, allocations: 0.6324 MB / 1.171 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.8801, allocations: 0.8721 MB / 1.172 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.8824, allocations: 1.638 MB / 1.174 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.8838, allocations: 0.8695 MB / 1.175 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.8849, allocations: 0.6073 MB / 1.175 GB, free: 176 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.8859, allocations: 0.6611 MB / 1.176 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003417/0.8863, allocations: 156 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.8873, allocations: 491.7 kB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.8876, allocations: 378.7 kB / 1.177 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000668/0.8883, allocations: 0.7308 MB / 1.177 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.8904, allocations: 1.986 MB / 1.179 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8904, allocations: 0 / 1.179 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8904, allocations: 0 / 1.179 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.8904, allocations: 4 kB / 1.179 GB, free: 11.77 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002756/0.8932, allocations: 1.717 MB / 1.181 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.8932, allocations: 12.03 kB / 1.181 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009657/0.8942, allocations: 223 kB / 1.181 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.8953, allocations: 0.8482 MB / 1.182 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.3e-05/0.8954, allocations: 90.34 kB / 1.182 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.8956, allocations: 120 kB / 1.182 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.8974, allocations: 1.202 MB / 1.184 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.8975, allocations: 0 / 1.184 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.8976, allocations: 48 kB / 1.184 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.8976, allocations: 31.98 kB / 1.184 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.8996, allocations: 1.285 MB / 1.185 GB, free: 6.035 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.9042, allocations: 3.582 MB / 1.188 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.9057, allocations: 0.8657 MB / 1.189 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.9062, allocations: 330.7 kB / 1.19 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.449e-05/0.9063, allocations: 28.59 kB / 1.19 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008563/0.9072, allocations: 0.5161 MB / 1.19 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 2.384e-06/0.9072, allocations: 3.938 kB / 1.19 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.003244/0.9104, allocations: 1.278 MB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.9105, allocations: 200.9 kB / 1.191 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008377/0.9114, allocations: 0.7353 MB / 1.192 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.9115, allocations: 45.7 kB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.9118, allocations: 0.5114 MB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.912, allocations: 283.9 kB / 1.193 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/0.9123, allocations: 178.4 kB / 1.193 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.9124, allocations: 337.9 kB / 1.194 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.913, allocations: 297.8 kB / 1.194 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.9136, allocations: 387.1 kB / 1.194 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.9147, allocations: 0.6633 MB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9147, allocations: 0 / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00197/0.9167, allocations: 0.9151 MB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.9167, allocations: 4 kB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9168, allocations: 3.938 kB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.9174, allocations: 92.8 kB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.9181, allocations: 175.8 kB / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.9202, allocations: 1.626 MB / 1.198 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/0.9209, allocations: 111.1 kB / 1.198 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.921, allocations: 39.97 kB / 1.198 GB, free: 8.379 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004931/0.9215, allocations: 295.4 kB / 1.198 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.9217, allocations: 94.97 kB / 1.198 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.924, allocations: 1.126 MB / 1.199 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.924, allocations: 15.94 kB / 1.199 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.924, allocations: 0 / 1.199 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.924, allocations: 7.969 kB / 1.199 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.9252, allocations: 1.06 MB / 1.2 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9252, allocations: 0 / 1.2 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.9258, allocations: 151.8 kB / 1.2 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/0.9262, allocations: 76.72 kB / 1.2 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.9263, allocations: 27.92 kB / 1.2 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.9284, allocations: 1.67 MB / 1.202 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9284, allocations: 0 / 1.202 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.9309, allocations: 0.9824 MB / 1.203 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006154/0.9315, allocations: 287.6 kB / 1.203 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.9318, allocations: 16.06 kB / 1.203 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/0.9325, allocations: 73.17 kB / 1.203 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.9327, allocations: 76.83 kB / 1.204 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/0.9328, allocations: 35.98 kB / 1.204 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008271/0.9336, allocations: 0.5146 MB / 1.204 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9336, allocations: 0 / 1.204 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001061/0.9347, allocations: 390.8 kB / 1.204 GB, free: 1.25 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/0.9363, allocations: 0.6037 MB / 1.205 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002809/0.9391, allocations: 1.101 MB / 1.206 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.9392, allocations: 192 / 1.206 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.9402, allocations: 0.5393 MB / 1.207 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.9418, allocations: 329.5 kB / 1.207 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.9456, allocations: 1.992 MB / 1.209 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/0.9464, allocations: 1.112 MB / 1.21 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009669/0.9474, allocations: 299.5 kB / 1.21 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.9477, allocations: 115.3 kB / 1.21 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of SimCode: time 7.32e-07/0.9477, allocations: 0 / 1.21 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of Templates: time 0.02948/0.9772, allocations: 16.4 MB / 1.226 GB, free: 11.07 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches