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.001065/0.001065, allocations: 92.08 kB / 16.02 MB, free: 80 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.001705/0.001705, allocations: 179.5 kB / 16.92 MB, free: 6.652 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.566/1.566, allocations: 223.3 MB / 241 MB, free: 5.305 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.764/2.764, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003979, allocations: 8 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7242, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008078/0.7323, allocations: 6.574 MB / 1.03 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1685/0.9008, allocations: 147.2 MB / 1.174 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.9027, allocations: 19.88 kB / 1.174 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.9039, allocations: 198.5 kB / 1.174 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003311/0.9072, allocations: 0.6759 MB / 1.175 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.9101, allocations: 0.8858 MB / 1.176 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003092/0.9132, allocations: 1.948 MB / 1.178 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.9151, allocations: 1.043 MB / 1.179 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.9163, allocations: 0.5442 MB / 1.179 GB, free: 112 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.9176, allocations: 0.61 MB / 1.18 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000334/0.9179, allocations: 36 kB / 1.18 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.9192, allocations: 379.5 kB / 1.18 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004442/0.9197, allocations: 270.6 kB / 1.18 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.9209, allocations: 0.7433 MB / 1.181 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.9234, allocations: 1.952 MB / 1.183 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.9234, allocations: 4 kB / 1.183 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9234, allocations: 0 / 1.183 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.597e-05/0.9235, allocations: 0 / 1.183 GB, free: 12.11 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004202/0.9277, allocations: 1.682 MB / 1.185 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.9278, allocations: 15.97 kB / 1.185 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.929, allocations: 266.6 kB / 1.185 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.9306, allocations: 0.9733 MB / 1.186 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.9308, allocations: 144.8 kB / 1.186 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.931, allocations: 156 kB / 1.186 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/0.9339, allocations: 1.593 MB / 1.188 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.9339, allocations: 0 / 1.188 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.9341, allocations: 71.98 kB / 1.188 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.9341, allocations: 36 kB / 1.188 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002681/0.9368, allocations: 1.6 MB / 1.189 GB, free: 5.418 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.008089/0.9449, allocations: 4.788 MB / 1.194 GB, free: 448 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.9471, allocations: 1.094 MB / 1.195 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008089/0.9479, allocations: 431.7 kB / 1.195 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.948, allocations: 49.06 kB / 1.196 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.9494, allocations: 0.7114 MB / 1.196 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 5.18e-06/0.9494, allocations: 0 / 1.196 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.004272/0.9537, allocations: 1.676 MB / 1.198 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.9539, allocations: 192.9 kB / 1.198 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.9554, allocations: 0.8453 MB / 1.199 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.9555, allocations: 49.7 kB / 1.199 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005819/0.9561, allocations: 0.6206 MB / 1.2 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.9565, allocations: 354.9 kB / 1.2 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.9566, allocations: 93.66 kB / 1.2 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9568, allocations: 349.9 kB / 1.2 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008496/0.9576, allocations: 406.4 kB / 1.201 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009442/0.9586, allocations: 0.5111 MB / 1.201 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.9603, allocations: 0.9033 MB / 1.202 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.9603, allocations: 0 / 1.202 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002829/0.9631, allocations: 1.211 MB / 1.203 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.9632, allocations: 8 kB / 1.203 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.9632, allocations: 3.938 kB / 1.203 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.9638, allocations: 92.77 kB / 1.203 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/0.9648, allocations: 235.7 kB / 1.204 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.9671, allocations: 1.555 MB / 1.205 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.9684, allocations: 159 kB / 1.205 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.9685, allocations: 52.02 kB / 1.205 GB, free: 4.559 MB / 0.9512 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * 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 (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.0009131/0.9695, allocations: 348.8 kB / 1.206 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.9698, allocations: 118.6 kB / 1.206 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.9735, allocations: 1.543 MB / 1.207 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.9735, allocations: 16 kB / 1.207 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9735, allocations: 0 / 1.207 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.9735, allocations: 3.984 kB / 1.207 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.9757, allocations: 1.361 MB / 1.209 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.9757, allocations: 0 / 1.209 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/0.9766, allocations: 203.6 kB / 1.209 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005843/0.9772, allocations: 88.77 kB / 1.209 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.9773, allocations: 35.97 kB / 1.209 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.9792, allocations: 1.56 MB / 1.21 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9792, allocations: 3.938 kB / 1.21 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.9821, allocations: 1.296 MB / 1.212 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/0.9829, allocations: 379 kB / 1.212 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.9832, allocations: 31.98 kB / 1.212 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.9843, allocations: 112.4 kB / 1.212 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.9845, allocations: 105.1 kB / 1.212 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.9846, allocations: 55.97 kB / 1.212 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001061/0.9857, allocations: 0.6096 MB / 1.213 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.693e-06/0.9857, allocations: 0 / 1.213 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001428/0.9872, allocations: 490.3 kB / 1.213 GB, free: 11.97 MB / 0.9669 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 (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.001524/0.9887, allocations: 0.6148 MB / 1.214 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.9912, allocations: 1.154 MB / 1.215 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9912, allocations: 256 / 1.215 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.9925, allocations: 0.6894 MB / 1.216 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.9943, allocations: 308.5 kB / 1.216 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/0.9996, allocations: 3.253 MB / 1.219 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009791/1.001, allocations: 1.225 MB / 1.22 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/1.001, allocations: 155.3 kB / 1.221 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of SimCode: time 1.031e-06/1.001, allocations: 0 / 1.221 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of Templates: time 0.03918/1.04, allocations: 27.11 MB / 1.247 GB, free: 9.652 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches