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.001215/0.001215, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.006424/0.006425, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.573/2.573, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 11.98 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7114/0.7118, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01086/0.7227, allocations: 6.566 MB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.8914, allocations: 147.2 MB / 1.173 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.8933, allocations: 19.88 kB / 1.173 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.8946, allocations: 190.5 kB / 1.173 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.8978, allocations: 0.6711 MB / 1.174 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.9004, allocations: 0.8976 MB / 1.175 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002862/0.9033, allocations: 1.944 MB / 1.177 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.905, allocations: 1.051 MB / 1.178 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.9061, allocations: 0.5364 MB / 1.178 GB, free: 92 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.9071, allocations: 0.61 MB / 1.179 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.9074, allocations: 36 kB / 1.179 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.9085, allocations: 383.5 kB / 1.179 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.9089, allocations: 266.6 kB / 1.18 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.91, allocations: 0.7433 MB / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.9128, allocations: 2.421 MB / 1.183 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9128, allocations: 0 / 1.183 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.106e-06/0.9128, allocations: 7.938 kB / 1.183 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.259e-05/0.9129, allocations: 0 / 1.183 GB, free: 11.61 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.00379/0.9167, allocations: 1.682 MB / 1.184 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9167, allocations: 12.03 kB / 1.184 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.9178, allocations: 270.6 kB / 1.185 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.9192, allocations: 0.9733 MB / 1.186 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.9193, allocations: 144.8 kB / 1.186 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.9195, allocations: 156 kB / 1.186 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.9222, allocations: 1.596 MB / 1.187 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.9222, allocations: 0 / 1.187 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.9223, allocations: 71.94 kB / 1.188 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.9224, allocations: 36 kB / 1.188 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.9249, allocations: 1.608 MB / 1.189 GB, free: 4.91 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.006772/0.9317, allocations: 4.765 MB / 1.194 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.9336, allocations: 1.102 MB / 1.195 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.9343, allocations: 439.6 kB / 1.195 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.123e-05/0.9344, allocations: 45.08 kB / 1.195 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.9356, allocations: 0.7115 MB / 1.196 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 2.715e-06/0.9356, allocations: 0 / 1.196 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.004092/0.9397, allocations: 1.668 MB / 1.198 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.9399, allocations: 196.9 kB / 1.198 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.941, allocations: 0.8453 MB / 1.199 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.116e-05/0.9411, allocations: 49.7 kB / 1.199 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.9416, allocations: 0.6206 MB / 1.199 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.9419, allocations: 358.9 kB / 1.2 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.942, allocations: 89.67 kB / 1.2 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9421, allocations: 353.9 kB / 1.2 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007466/0.9429, allocations: 402.4 kB / 1.2 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008935/0.9438, allocations: 0.5189 MB / 1.201 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.9454, allocations: 0.8994 MB / 1.202 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9454, allocations: 0 / 1.202 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002561/0.948, allocations: 1.219 MB / 1.203 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.948, allocations: 9.406 kB / 1.203 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.948, allocations: 0 / 1.203 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/0.9487, allocations: 84.84 kB / 1.203 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009414/0.9496, allocations: 231.6 kB / 1.203 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.9518, allocations: 1.559 MB / 1.205 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.953, allocations: 152.6 kB / 1.205 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.9531, allocations: 55.97 kB / 1.205 GB, free: 4.066 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.0007261/0.9538, allocations: 348.9 kB / 1.205 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.954, allocations: 118.5 kB / 1.206 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003368/0.9574, allocations: 1.547 MB / 1.207 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.9574, allocations: 12 kB / 1.207 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9574, allocations: 4 kB / 1.207 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.9574, allocations: 7.969 kB / 1.207 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.9595, allocations: 1.357 MB / 1.208 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.9595, allocations: 0 / 1.208 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/0.9604, allocations: 203.6 kB / 1.209 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005796/0.961, allocations: 88.72 kB / 1.209 GB, free: 332 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.9611, allocations: 31.97 kB / 1.209 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.963, allocations: 1.567 MB / 1.21 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.963, allocations: 0 / 1.21 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.9656, allocations: 1.289 MB / 1.211 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/0.9663, allocations: 387 kB / 1.212 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.9664, allocations: 28 kB / 1.212 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009418/0.9674, allocations: 115.8 kB / 1.212 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/0.9676, allocations: 97.25 kB / 1.212 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.94e-05/0.9677, allocations: 51.91 kB / 1.212 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008787/0.9686, allocations: 0.6252 MB / 1.213 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9686, allocations: 0 / 1.213 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001226/0.9698, allocations: 478.5 kB / 1.213 GB, free: 11.48 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.001383/0.9712, allocations: 0.6228 MB / 1.214 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002328/0.9736, allocations: 1.15 MB / 1.215 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.9736, allocations: 0 / 1.215 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.9748, allocations: 0.6858 MB / 1.216 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.9763, allocations: 317.6 kB / 1.216 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.9811, allocations: 3.217 MB / 1.219 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.9818, allocations: 1.22 MB / 1.22 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001131/0.983, allocations: 313.3 kB / 1.221 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.9833, allocations: 143.4 kB / 1.221 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.9834, allocations: 0 / 1.221 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of Templates: time 0.03336/1.017, allocations: 19.57 MB / 1.24 GB, free: 0.5625 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