Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008632/0.008632, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.00199/0.00199, allocations: 191.3 kB / 16.79 MB, free: 5.805 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.418/1.418, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.603/2.603, allocations: 437 MB / 0.7106 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 59.91 kB / 0.8692 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7609, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008211/0.7692, allocations: 5.971 MB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1727/0.9419, allocations: 148.5 MB / 1.168 GB, free: 7.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.9434, allocations: 23.88 kB / 1.168 GB, free: 7.676 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.9445, allocations: 178.5 kB / 1.168 GB, free: 7.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.9471, allocations: 0.5321 MB / 1.169 GB, free: 6.969 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.9496, allocations: 0.757 MB / 1.17 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.9519, allocations: 1.544 MB / 1.171 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.9532, allocations: 0.8348 MB / 1.172 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000908/0.9541, allocations: 0.5369 MB / 1.172 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.9549, allocations: 0.6182 MB / 1.173 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.9551, allocations: 91.94 kB / 1.173 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009788/0.956, allocations: 431.7 kB / 1.174 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.9564, allocations: 310.7 kB / 1.174 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006601/0.957, allocations: 0.676 MB / 1.174 GB, free: 1.141 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.9586, allocations: 1.497 MB / 1.176 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9586, allocations: 0 / 1.176 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9586, allocations: 0 / 1.176 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.9587, allocations: 0 / 1.176 GB, free: 15.64 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003154/0.9618, allocations: 1.713 MB / 1.178 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9619, allocations: 12.03 kB / 1.178 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.9629, allocations: 219 kB / 1.178 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.9641, allocations: 0.8443 MB / 1.179 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.9642, allocations: 94.41 kB / 1.179 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.9644, allocations: 120 kB / 1.179 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.9665, allocations: 1.202 MB / 1.18 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.9665, allocations: 0 / 1.18 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.9666, allocations: 52 kB / 1.18 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.9667, allocations: 32 kB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.9688, allocations: 1.289 MB / 1.181 GB, free: 9.902 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.005558/0.9743, allocations: 3.577 MB / 1.185 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.976, allocations: 0.8597 MB / 1.186 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.9766, allocations: 322.7 kB / 1.186 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.252e-05/0.9767, allocations: 32.61 kB / 1.186 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.9777, allocations: 0.5159 MB / 1.187 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 4.118e-06/0.9777, allocations: 3.984 kB / 1.187 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.00345/0.9811, allocations: 1.29 MB / 1.188 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.9813, allocations: 188.9 kB / 1.188 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.9823, allocations: 0.7391 MB / 1.189 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.9824, allocations: 41.7 kB / 1.189 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.9829, allocations: 0.5154 MB / 1.189 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.9832, allocations: 284 kB / 1.19 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.9834, allocations: 182.4 kB / 1.19 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9836, allocations: 342 kB / 1.19 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.9842, allocations: 289.8 kB / 1.19 GB, free: 452 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.9848, allocations: 395.1 kB / 1.191 GB, free: 36 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.9861, allocations: 0.6555 MB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9861, allocations: 0 / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002202/0.9883, allocations: 0.9229 MB / 1.192 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.9883, allocations: 8 kB / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.9883, allocations: 3.938 kB / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/0.989, allocations: 84.86 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/0.9897, allocations: 175.7 kB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.9919, allocations: 1.525 MB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.9929, allocations: 112.2 kB / 1.194 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.993, allocations: 35.98 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0007151/0.9938, allocations: 310.6 kB / 1.194 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.994, allocations: 94.78 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.9966, allocations: 1.122 MB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.9966, allocations: 11.98 kB / 1.196 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.9966, allocations: 0 / 1.196 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.9967, allocations: 11.92 kB / 1.196 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.9981, allocations: 1.056 MB / 1.197 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9982, allocations: 0 / 1.197 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.9988, allocations: 147.8 kB / 1.197 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005476/0.9994, allocations: 84.77 kB / 1.197 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/0.9994, allocations: 23.98 kB / 1.197 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/1.001, allocations: 1.555 MB / 1.198 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.001, allocations: 4 kB / 1.198 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/1.004, allocations: 0.9902 MB / 1.199 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/1.004, allocations: 283.6 kB / 1.2 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/1.005, allocations: 20 kB / 1.2 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/1.005, allocations: 74.2 kB / 1.2 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.006, allocations: 88.7 kB / 1.2 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/1.006, allocations: 31.98 kB / 1.2 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000835/1.007, allocations: 0.5146 MB / 1.2 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.007, allocations: 0 / 1.2 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001233/1.008, allocations: 390.8 kB / 1.201 GB, free: 5.332 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001599/1.009, allocations: 0.6019 MB / 1.201 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002031/1.011, allocations: 0.8898 MB / 1.202 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.011, allocations: 0 / 1.202 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.013, allocations: 0.5394 MB / 1.203 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.014, allocations: 304.5 kB / 1.203 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/1.019, allocations: 2.563 MB / 1.206 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008733/1.019, allocations: 1.118 MB / 1.207 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/1.02, allocations: 119.4 kB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/1.02, allocations: 4 kB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of Templates: time 0.03242/1.052, allocations: 21.76 MB / 1.228 GB, free: 9.586 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches