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.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.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.001049/0.001049, allocations: 108 kB / 15.6 MB, free: 132 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.00109/0.00109, allocations: 194 kB / 16.53 MB, free: 6.391 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.611/2.611, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.766, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009003/0.775, allocations: 7.075 MB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1854/0.9605, allocations: 151.1 MB / 1.172 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.9623, allocations: 23.88 kB / 1.172 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.9638, allocations: 257.5 kB / 1.172 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005165/0.9691, allocations: 0.7697 MB / 1.173 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004801/0.9739, allocations: 1.014 MB / 1.174 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004447/0.9783, allocations: 2.085 MB / 1.176 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.9813, allocations: 1.114 MB / 1.177 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.9831, allocations: 0.8137 MB / 1.178 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.985, allocations: 0.887 MB / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007233/0.9858, allocations: 216 kB / 1.179 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.9877, allocations: 0.5466 MB / 1.179 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006377/0.9884, allocations: 490.5 kB / 1.18 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.9897, allocations: 0.9681 MB / 1.181 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.9938, allocations: 2.621 MB / 1.183 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9938, allocations: 0 / 1.183 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9938, allocations: 0 / 1.183 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.787e-05/0.9939, allocations: 4 kB / 1.183 GB, free: 7.777 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.005894/0.9998, allocations: 2.033 MB / 1.185 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.9998, allocations: 19.95 kB / 1.185 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/1.002, allocations: 250.6 kB / 1.186 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/1.004, allocations: 0.9772 MB / 1.186 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/1.004, allocations: 148.8 kB / 1.187 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/1.005, allocations: 152 kB / 1.187 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004496/1.009, allocations: 1.589 MB / 1.188 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/1.009, allocations: 0 / 1.188 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/1.009, allocations: 68 kB / 1.188 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-05/1.009, allocations: 36 kB / 1.188 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/1.014, allocations: 1.6 MB / 1.19 GB, free: 0.75 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.01249/1.026, allocations: 4.732 MB / 1.195 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/1.03, allocations: 1.09 MB / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/1.031, allocations: 435.6 kB / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/1.031, allocations: 44.92 kB / 1.196 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002118/1.033, allocations: 0.7057 MB / 1.197 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 5.501e-06/1.033, allocations: 0 / 1.197 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.006282/1.039, allocations: 1.657 MB / 1.198 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/1.04, allocations: 196.9 kB / 1.199 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/1.042, allocations: 0.8414 MB / 1.199 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/1.042, allocations: 49.7 kB / 1.199 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008565/1.043, allocations: 0.6245 MB / 1.2 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/1.043, allocations: 355 kB / 1.2 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005514/1.044, allocations: 226.7 kB / 1.201 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.044, allocations: 345.9 kB / 1.201 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.045, allocations: 402.4 kB / 1.201 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/1.047, allocations: 0.515 MB / 1.202 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/1.049, allocations: 0.8838 MB / 1.203 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/1.049, allocations: 7.938 kB / 1.203 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.004141/1.053, allocations: 1.203 MB / 1.204 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.054, allocations: 4 kB / 1.204 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.054, allocations: 7.938 kB / 1.204 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000795/1.054, allocations: 84.83 kB / 1.204 GB, free: 2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/1.056, allocations: 227.7 kB / 1.204 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/1.059, allocations: 1.646 MB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.061, allocations: 135.1 kB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/1.062, allocations: 55.95 kB / 1.206 GB, free: 15.8 MB / 0.9669 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.001224/1.063, allocations: 352.2 kB / 1.206 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/1.063, allocations: 106.7 kB / 1.206 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006013/1.07, allocations: 1.547 MB / 1.208 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.07, allocations: 12 kB / 1.208 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.07, allocations: 0 / 1.208 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/1.07, allocations: 7.969 kB / 1.208 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/1.073, allocations: 1.369 MB / 1.209 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.073, allocations: 0 / 1.209 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/1.074, allocations: 199.7 kB / 1.21 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006444/1.075, allocations: 80.77 kB / 1.21 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/1.075, allocations: 31.97 kB / 1.21 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/1.078, allocations: 1.666 MB / 1.211 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.078, allocations: 144 / 1.211 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/1.083, allocations: 1.293 MB / 1.213 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/1.084, allocations: 363.2 kB / 1.213 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/1.084, allocations: 31.97 kB / 1.213 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.085, allocations: 81.94 kB / 1.213 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/1.086, allocations: 101.2 kB / 1.213 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/1.086, allocations: 55.95 kB / 1.213 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001527/1.087, allocations: 0.6135 MB / 1.214 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.91e-07/1.087, allocations: 0 / 1.214 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001996/1.089, allocations: 474.6 kB / 1.214 GB, free: 7.176 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.002467/1.092, allocations: 0.6203 MB / 1.215 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005113/1.097, allocations: 1.435 MB / 1.216 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.097, allocations: 0 / 1.216 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/1.099, allocations: 0.6818 MB / 1.217 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/1.1, allocations: 356.1 kB / 1.217 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006241/1.107, allocations: 2.5 MB / 1.22 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.108, allocations: 1.224 MB / 1.221 GB, free: 480 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001505/1.11, allocations: 309.3 kB / 1.221 GB, free: 168 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/1.11, allocations: 155.3 kB / 1.221 GB, free: 12 kB / 0.9669 GB Notification: Performance of SimCode: time 1.613e-06/1.11, allocations: 0 / 1.221 GB, free: 12 kB / 0.9669 GB Notification: Performance of Templates: time 0.04099/1.151, allocations: 20.64 MB / 1.241 GB, free: 11.58 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/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