Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001154/0.001154, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001683/0.001683, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.918/2.918, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003845, allocations: 10.11 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3772, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008249/0.3855, allocations: 6.146 MB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.563, allocations: 137.4 MB / 1.198 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.5643, allocations: 19.88 kB / 1.198 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.5651, allocations: 186.5 kB / 1.198 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.5674, allocations: 0.6488 MB / 1.199 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.5697, allocations: 0.7517 MB / 1.2 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00285/0.5726, allocations: 1.835 MB / 1.201 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.5741, allocations: 0.8694 MB / 1.202 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.5752, allocations: 0.5327 MB / 1.203 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.5763, allocations: 0.5752 MB / 1.203 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.5764, allocations: 39.94 kB / 1.203 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009718/0.5774, allocations: 343.7 kB / 1.204 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.5777, allocations: 262.7 kB / 1.204 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.5781, allocations: 336.8 kB / 1.204 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.5804, allocations: 1.948 MB / 1.206 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5805, allocations: 4 kB / 1.206 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5805, allocations: 0 / 1.206 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.571e-05/0.5805, allocations: 3.938 kB / 1.206 GB, free: 13.02 MB / 0.9669 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.003687/0.5842, allocations: 1.709 MB / 1.208 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5842, allocations: 12.03 kB / 1.208 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.5853, allocations: 269.6 kB / 1.208 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.587, allocations: 0.9344 MB / 1.209 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/0.5874, allocations: 152.8 kB / 1.209 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.5876, allocations: 152 kB / 1.209 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/0.5907, allocations: 1.589 MB / 1.211 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.5907, allocations: 0 / 1.211 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.5909, allocations: 60 kB / 1.211 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.5909, allocations: 40 kB / 1.211 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00303/0.5939, allocations: 1.592 MB / 1.213 GB, free: 6.355 MB / 0.9669 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.008069/0.602, allocations: 4.758 MB / 1.217 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.6039, allocations: 1.098 MB / 1.218 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/0.6047, allocations: 435.8 kB / 1.219 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.601e-05/0.6048, allocations: 41.05 kB / 1.219 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001419/0.6062, allocations: 0.7078 MB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=111): time 2.775e-06/0.6063, allocations: 4 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=111): time 0.003951/0.6102, allocations: 1.661 MB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.6103, allocations: 192.9 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.6116, allocations: 0.8415 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/0.6117, allocations: 49.7 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005143/0.6123, allocations: 0.6167 MB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/0.6126, allocations: 354.9 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.609e-05/0.6126, allocations: 24 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6128, allocations: 345.9 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/0.6135, allocations: 398.4 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009512/0.6145, allocations: 0.515 MB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.6154, allocations: 450.3 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6154, allocations: 0 / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002628/0.618, allocations: 1.211 MB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.6181, allocations: 4 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6181, allocations: 0 / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/0.6186, allocations: 88.83 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009393/0.6196, allocations: 235.7 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.6216, allocations: 1.543 MB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.6227, allocations: 165.2 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.6228, allocations: 51.95 kB / 1.228 GB, free: 6.137 MB / 0.9825 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006955/0.6235, allocations: 361.8 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6237, allocations: 114.6 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.6269, allocations: 1.547 MB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.6269, allocations: 12 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6269, allocations: 0 / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.6269, allocations: 11.92 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.6286, allocations: 1.365 MB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6286, allocations: 0 / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008012/0.6294, allocations: 199.7 kB / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/0.6299, allocations: 88.77 kB / 1.232 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/0.6299, allocations: 35.97 kB / 1.232 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.6317, allocations: 1.559 MB / 1.233 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6317, allocations: 3.953 kB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.6342, allocations: 1.281 MB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/0.6347, allocations: 391 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.6349, allocations: 28 kB / 1.235 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.6357, allocations: 111.8 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.6359, allocations: 97.16 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.636, allocations: 51.97 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008436/0.6369, allocations: 0.6135 MB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6369, allocations: 0 / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001149/0.6381, allocations: 478.5 kB / 1.236 GB, free: 13.55 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/0.6394, allocations: 0.6143 MB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.6416, allocations: 1.154 MB / 1.238 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.6416, allocations: 4 kB / 1.238 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.6428, allocations: 0.6819 MB / 1.238 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.6441, allocations: 305 kB / 1.239 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.6492, allocations: 3.101 MB / 1.242 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.6505, allocations: 1.22 MB / 1.243 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001902/0.6524, allocations: 313.3 kB / 1.243 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/0.6529, allocations: 139.4 kB / 1.243 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of SimCode: time 1.473e-06/0.6529, allocations: 0 / 1.243 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of Templates: time 0.6965/1.349, allocations: 19 MB / 1.262 GB, free: 184.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches