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.001684/0.001684, 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.001941/0.001941, allocations: 194.4 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.829/2.829, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 63.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6437, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01026/0.6541, allocations: 7.075 MB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1934/0.8475, allocations: 151.1 MB / 1.172 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.8486, allocations: 19.94 kB / 1.172 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007819/0.8494, allocations: 265.4 kB / 1.172 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.8517, allocations: 0.772 MB / 1.173 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.8541, allocations: 1.012 MB / 1.174 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.8565, allocations: 2.089 MB / 1.176 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.858, allocations: 1.103 MB / 1.177 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.8592, allocations: 0.8176 MB / 1.178 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.8605, allocations: 0.8848 MB / 1.179 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.8608, allocations: 220 kB / 1.179 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.8619, allocations: 0.5504 MB / 1.179 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004687/0.8624, allocations: 490.5 kB / 1.18 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009815/0.8634, allocations: 0.9681 MB / 1.181 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.8663, allocations: 2.617 MB / 1.183 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8663, allocations: 0 / 1.183 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8663, allocations: 0 / 1.183 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.311e-05/0.8663, allocations: 0 / 1.183 GB, free: 7.793 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.004093/0.8704, allocations: 2.045 MB / 1.185 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8705, allocations: 8.031 kB / 1.185 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.8716, allocations: 258.6 kB / 1.186 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.8731, allocations: 0.9811 MB / 1.187 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.8733, allocations: 140.8 kB / 1.187 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.8735, allocations: 152 kB / 1.187 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.8764, allocations: 1.593 MB / 1.188 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.8764, allocations: 3.938 kB / 1.188 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.8766, allocations: 63.98 kB / 1.188 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/0.8766, allocations: 40 kB / 1.188 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/0.8795, allocations: 1.596 MB / 1.19 GB, free: 0.7578 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.007607/0.8871, allocations: 4.732 MB / 1.195 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.8892, allocations: 1.09 MB / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008159/0.89, allocations: 439.7 kB / 1.196 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.8901, allocations: 45.02 kB / 1.196 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/0.8914, allocations: 0.6919 MB / 1.197 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 3.046e-06/0.8914, allocations: 0 / 1.197 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.004262/0.8957, allocations: 1.661 MB / 1.198 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.8959, allocations: 200.9 kB / 1.199 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.8971, allocations: 0.8414 MB / 1.199 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.8972, allocations: 53.69 kB / 1.2 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.8978, allocations: 0.6206 MB / 1.2 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.8982, allocations: 354.9 kB / 1.2 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.8985, allocations: 222.7 kB / 1.201 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.8988, allocations: 349.9 kB / 1.201 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008126/0.8996, allocations: 406.4 kB / 1.201 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.9006, allocations: 0.5071 MB / 1.202 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.9024, allocations: 0.8877 MB / 1.203 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.9024, allocations: 0 / 1.203 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002879/0.9053, allocations: 1.215 MB / 1.204 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.9054, allocations: 4 kB / 1.204 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9054, allocations: 0 / 1.204 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/0.906, allocations: 84.84 kB / 1.204 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009948/0.907, allocations: 227.7 kB / 1.204 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.9095, allocations: 1.662 MB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.9106, allocations: 126.9 kB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.9107, allocations: 51.95 kB / 1.206 GB, free: 15.81 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.0006887/0.9114, allocations: 352.4 kB / 1.206 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.9117, allocations: 114.7 kB / 1.206 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.9153, allocations: 1.528 MB / 1.208 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.9153, allocations: 12 kB / 1.208 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9153, allocations: 0 / 1.208 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.9153, allocations: 7.984 kB / 1.208 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.9172, allocations: 1.373 MB / 1.209 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.9172, allocations: 3.984 kB / 1.209 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008787/0.9181, allocations: 207.6 kB / 1.21 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/0.9186, allocations: 68.78 kB / 1.21 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.758e-05/0.9187, allocations: 39.97 kB / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.9209, allocations: 1.674 MB / 1.211 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9209, allocations: 0 / 1.211 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.9238, allocations: 1.277 MB / 1.213 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006588/0.9245, allocations: 363.1 kB / 1.213 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/0.9248, allocations: 35.89 kB / 1.213 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/0.9258, allocations: 81.64 kB / 1.213 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.926, allocations: 101.1 kB / 1.213 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.9261, allocations: 51.95 kB / 1.213 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00101/0.9271, allocations: 0.6135 MB / 1.214 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9271, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001276/0.9284, allocations: 478.6 kB / 1.214 GB, free: 7.188 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.002035/0.9305, allocations: 0.6279 MB / 1.215 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003958/0.9344, allocations: 1.431 MB / 1.216 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.9345, allocations: 4.25 kB / 1.216 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.9359, allocations: 0.6777 MB / 1.217 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.9376, allocations: 353.1 kB / 1.217 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005342/0.9429, allocations: 2.503 MB / 1.22 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.9442, allocations: 1.223 MB / 1.221 GB, free: 492 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001431/0.9457, allocations: 325.2 kB / 1.221 GB, free: 164 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.9462, allocations: 143.4 kB / 1.221 GB, free: 20 kB / 0.9669 GB Notification: Performance of SimCode: time 1.002e-06/0.9462, allocations: 0 / 1.221 GB, free: 20 kB / 0.9669 GB Notification: Performance of Templates: time 0.03995/0.9861, allocations: 20.63 MB / 1.241 GB, free: 11.6 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=400 -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