Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 11.98 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6328/0.6331, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007736/0.6409, allocations: 6.186 MB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1535/0.7944, allocations: 137.3 MB / 1.163 GB, free: 88 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.7956, allocations: 19.94 kB / 1.163 GB, free: 68 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008872/0.7965, allocations: 198.5 kB / 1.163 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.7989, allocations: 0.6329 MB / 1.163 GB, free: 15.24 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.8011, allocations: 0.7514 MB / 1.164 GB, free: 14.49 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002434/0.8036, allocations: 1.839 MB / 1.166 GB, free: 12.65 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.8052, allocations: 0.8772 MB / 1.167 GB, free: 11.74 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.8062, allocations: 0.5249 MB / 1.167 GB, free: 11.21 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009829/0.8072, allocations: 0.5751 MB / 1.168 GB, free: 10.63 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.8075, allocations: 40 kB / 1.168 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.8085, allocations: 355.6 kB / 1.168 GB, free: 10.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.8088, allocations: 258.7 kB / 1.168 GB, free: 9.992 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.8092, allocations: 328.8 kB / 1.169 GB, free: 9.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.8112, allocations: 1.944 MB / 1.171 GB, free: 7.715 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.8112, allocations: 0 / 1.171 GB, free: 7.715 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8112, allocations: 0 / 1.171 GB, free: 7.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.691e-05/0.8113, allocations: 0 / 1.171 GB, free: 7.715 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003185/0.8145, allocations: 1.721 MB / 1.172 GB, free: 5.934 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8145, allocations: 8.562 kB / 1.172 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009681/0.8155, allocations: 261.7 kB / 1.173 GB, free: 5.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.8169, allocations: 0.9459 MB / 1.174 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.817, allocations: 156.8 kB / 1.174 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.8172, allocations: 148 kB / 1.174 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.8201, allocations: 1.581 MB / 1.175 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.8201, allocations: 0 / 1.175 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.8203, allocations: 64 kB / 1.175 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.8203, allocations: 40 kB / 1.175 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.823, allocations: 1.596 MB / 1.177 GB, free: 1.031 MB / 0.92 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.006934/0.83, allocations: 4.767 MB / 1.182 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.8319, allocations: 1.092 MB / 1.183 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000735/0.8326, allocations: 439.5 kB / 1.183 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.8328, allocations: 45.08 kB / 1.183 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.8341, allocations: 0.7012 MB / 1.184 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=111): time 4.388e-06/0.8341, allocations: 0 / 1.184 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=111): time 0.003775/0.8379, allocations: 1.669 MB / 1.186 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.838, allocations: 192.9 kB / 1.186 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.8391, allocations: 0.8336 MB / 1.187 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.768e-05/0.8392, allocations: 53.69 kB / 1.187 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005176/0.8397, allocations: 0.6206 MB / 1.187 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.84, allocations: 355 kB / 1.188 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.8401, allocations: 20 kB / 1.188 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8403, allocations: 345.9 kB / 1.188 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.841, allocations: 402.4 kB / 1.188 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008567/0.8419, allocations: 0.5111 MB / 1.189 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008458/0.8427, allocations: 446.3 kB / 1.189 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8428, allocations: 0 / 1.189 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002462/0.8452, allocations: 1.211 MB / 1.19 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.8453, allocations: 10.03 kB / 1.19 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.8453, allocations: 0 / 1.19 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/0.8458, allocations: 92.77 kB / 1.19 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009792/0.8468, allocations: 227.7 kB / 1.191 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.8489, allocations: 1.559 MB / 1.192 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.8499, allocations: 160.8 kB / 1.192 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.8501, allocations: 55.95 kB / 1.192 GB, free: 0.8086 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006862/0.8508, allocations: 356.2 kB / 1.193 GB, free: 460 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.8509, allocations: 114.6 kB / 1.193 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.8543, allocations: 1.543 MB / 1.194 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.8543, allocations: 12 kB / 1.194 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8543, allocations: 4 kB / 1.194 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.8543, allocations: 7.984 kB / 1.194 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.8561, allocations: 1.376 MB / 1.196 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8561, allocations: 3.938 kB / 1.196 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/0.8569, allocations: 199.7 kB / 1.196 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004888/0.8574, allocations: 88.77 kB / 1.196 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.799e-05/0.8575, allocations: 31.97 kB / 1.196 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.8594, allocations: 1.563 MB / 1.198 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8594, allocations: 4.031 kB / 1.198 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.8621, allocations: 1.277 MB / 1.199 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000703/0.8628, allocations: 383.1 kB / 1.199 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/0.8631, allocations: 31.95 kB / 1.199 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000967/0.864, allocations: 123.8 kB / 1.199 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.8642, allocations: 97.16 kB / 1.199 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.8643, allocations: 51.97 kB / 1.199 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001014/0.8654, allocations: 0.6057 MB / 1.2 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8654, allocations: 0 / 1.2 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001261/0.8666, allocations: 482.6 kB / 1.201 GB, free: 8.211 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.868, allocations: 0.6021 MB / 1.201 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.8703, allocations: 1.158 MB / 1.202 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8703, allocations: 0 / 1.202 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.8715, allocations: 0.6817 MB / 1.203 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.8728, allocations: 321.3 kB / 1.203 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.8778, allocations: 3.087 MB / 1.206 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/0.8787, allocations: 1.224 MB / 1.207 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001174/0.8799, allocations: 317.2 kB / 1.208 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/0.8803, allocations: 147.3 kB / 1.208 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.8803, allocations: 0 / 1.208 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of Templates: time 0.03505/0.9153, allocations: 19 MB / 1.226 GB, free: 13.99 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches