Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001349/0.001349, allocations: 168.7 kB / 15.95 MB, free: 204 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.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.886/2.886, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 9.219 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3973, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008636/0.406, allocations: 7.335 MB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.5728, allocations: 138 MB / 1.2 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.5754, allocations: 23.94 kB / 1.2 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008535/0.5763, allocations: 229.9 kB / 1.2 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.579, allocations: 0.7049 MB / 1.201 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.5819, allocations: 0.9943 MB / 1.202 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003366/0.5852, allocations: 2.576 MB / 1.204 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.5868, allocations: 1.103 MB / 1.205 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.5883, allocations: 0.7857 MB / 1.206 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.5895, allocations: 0.9331 MB / 1.207 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.5897, allocations: 64 kB / 1.207 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.5908, allocations: 395.7 kB / 1.208 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003714/0.5912, allocations: 386.2 kB / 1.208 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.5916, allocations: 424.5 kB / 1.208 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.5942, allocations: 2.665 MB / 1.211 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.5942, allocations: 0 / 1.211 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5942, allocations: 3.938 kB / 1.211 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.507e-05/0.5943, allocations: 0 / 1.211 GB, free: 8.238 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005121/0.5994, allocations: 2.339 MB / 1.213 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5994, allocations: 12.03 kB / 1.213 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.613, allocations: 2.299 MB / 1.215 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.6163, allocations: 1.231 MB / 1.217 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.6165, allocations: 168.5 kB / 1.217 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005558/0.6171, allocations: 216 kB / 1.217 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008801/0.6259, allocations: 3.333 MB / 1.22 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.626, allocations: 0 / 1.22 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.6262, allocations: 95.98 kB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.6263, allocations: 59.95 kB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01166/0.638, allocations: 4.33 MB / 1.225 GB, free: 9.922 MB / 0.9825 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.01623/0.6542, allocations: 8.141 MB / 1.233 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007781/0.662, allocations: 2.894 MB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003884/0.6659, allocations: 1.498 MB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007343/0.6667, allocations: 0.5074 MB / 1.237 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004506/0.6712, allocations: 1.855 MB / 1.239 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 3.667e-06/0.6712, allocations: 0 / 1.239 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01319/0.6844, allocations: 4.493 MB / 1.244 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.6846, allocations: 205.9 kB / 1.244 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.6861, allocations: 0.9369 MB / 1.245 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.6863, allocations: 69.69 kB / 1.245 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000664/0.687, allocations: 0.7388 MB / 1.246 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006501/0.6876, allocations: 0.6776 MB / 1.246 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.6878, allocations: 40 kB / 1.246 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.688, allocations: 381.9 kB / 1.247 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/0.6916, allocations: 1.253 MB / 1.248 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003789/0.6954, allocations: 1.449 MB / 1.249 GB, free: 264 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7114/1.407, allocations: 1.286 MB / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/1.407, allocations: 0 / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01072/1.418, allocations: 3.137 MB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/1.418, allocations: 7.594 kB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.418, allocations: 2.875 kB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/1.418, allocations: 88.23 kB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/1.422, allocations: 0.6166 MB / 1.254 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/1.424, allocations: 1.532 MB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/1.427, allocations: 395.9 kB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/1.427, allocations: 99.89 kB / 1.256 GB, free: 184.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.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 (239): * Single equations (assignments): 238 * 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.00109/1.428, allocations: 441.6 kB / 1.257 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/1.428, allocations: 155.5 kB / 1.257 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.439, allocations: 3.75 MB / 1.26 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.439, allocations: 23.81 kB / 1.26 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.439, allocations: 0 / 1.26 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.264e-05/1.439, allocations: 11.06 kB / 1.26 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/1.443, allocations: 2.457 MB / 1.263 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.443, allocations: 0 / 1.263 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00349/1.446, allocations: 0.5671 MB / 1.263 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/1.447, allocations: 87.42 kB / 1.263 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/1.447, allocations: 75.95 kB / 1.264 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/1.449, allocations: 1.556 MB / 1.265 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.449, allocations: 0.8125 kB / 1.265 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.46, allocations: 3.228 MB / 1.268 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.461, allocations: 0.5695 MB / 1.269 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/1.462, allocations: 42.27 kB / 1.269 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/1.464, allocations: 305.5 kB / 1.269 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/1.465, allocations: 154.5 kB / 1.269 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/1.465, allocations: 96.92 kB / 1.269 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001514/1.467, allocations: 0.6851 MB / 1.27 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.467, allocations: 0.5625 kB / 1.27 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00273/1.469, allocations: 0.6792 MB / 1.271 GB, free: 181.7 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,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * 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.001659/1.471, allocations: 0.6546 MB / 1.271 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009925/1.481, allocations: 3.173 MB / 1.274 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.481, allocations: 7.188 kB / 1.274 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005159/1.486, allocations: 1.758 MB / 1.276 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/1.488, allocations: 358.7 kB / 1.276 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.499, allocations: 4.965 MB / 1.281 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.5, allocations: 1.431 MB / 1.283 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004036/1.504, allocations: 0.5798 MB / 1.283 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.506, allocations: 237 kB / 1.284 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.523e-06/1.506, allocations: 3.938 kB / 1.284 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04992/1.555, allocations: 29.04 MB / 1.312 GB, free: 157.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches