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.001004/0.001004, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009304/0.0009304, allocations: 177.3 kB / 15.94 MB, free: 228 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.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.678/2.678, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003812, allocations: 12 kB / 0.8707 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8434/0.8438, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007669/0.8516, allocations: 5.436 MB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1895/1.041, allocations: 128.6 MB / 1.152 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/1.043, allocations: 19.94 kB / 1.152 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/1.044, allocations: 122.8 kB / 1.152 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003148/1.047, allocations: 0.6656 MB / 1.152 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/1.051, allocations: 0.9717 MB / 1.153 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004095/1.055, allocations: 1.515 MB / 1.155 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/1.057, allocations: 1.211 MB / 1.156 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/1.059, allocations: 0.7625 MB / 1.157 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/1.061, allocations: 0.8513 MB / 1.158 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006531/1.062, allocations: 64 kB / 1.158 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/1.063, allocations: 367.6 kB / 1.158 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007734/1.064, allocations: 382.4 kB / 1.158 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008198/1.065, allocations: 396.4 kB / 1.159 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003773/1.069, allocations: 2.591 MB / 1.161 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.069, allocations: 0 / 1.161 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.073e-06/1.069, allocations: 0 / 1.161 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001272/1.069, allocations: 0 / 1.161 GB, free: 0.8164 MB / 0.9044 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.006871/1.076, allocations: 2.304 MB / 1.164 GB, free: 14.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.076, allocations: 11.98 kB / 1.164 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/1.091, allocations: 2.299 MB / 1.166 GB, free: 12.11 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/1.095, allocations: 1.224 MB / 1.167 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/1.096, allocations: 172.5 kB / 1.167 GB, free: 10.67 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/1.097, allocations: 216 kB / 1.167 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/1.108, allocations: 3.321 MB / 1.171 GB, free: 7.047 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-05/1.108, allocations: 0 / 1.171 GB, free: 7.047 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005736/1.109, allocations: 92 kB / 1.171 GB, free: 6.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.185e-05/1.109, allocations: 56 kB / 1.171 GB, free: 6.902 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/1.123, allocations: 4.338 MB / 1.175 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/1.145, allocations: 7.355 MB / 1.182 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.156, allocations: 2.886 MB / 1.185 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009723/1.157, allocations: 0.5113 MB / 1.185 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006056/1.163, allocations: 1.836 MB / 1.187 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=213): time 6.382e-06/1.163, allocations: 4 kB / 1.187 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=213): time 0.01696/1.18, allocations: 4.483 MB / 1.192 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.18, allocations: 206 kB / 1.192 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/1.182, allocations: 0.9413 MB / 1.193 GB, free: 44 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006477/1.183, allocations: 61.78 kB / 1.193 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008037/1.183, allocations: 0.7465 MB / 1.194 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.185, allocations: 0.6814 MB / 1.194 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004343/1.185, allocations: 36 kB / 1.194 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000233/1.185, allocations: 373.9 kB / 1.195 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/1.19, allocations: 1.245 MB / 1.196 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/1.195, allocations: 1.433 MB / 1.197 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/1.199, allocations: 1.271 MB / 1.198 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.199, allocations: 0 / 1.198 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01113/1.21, allocations: 3.093 MB / 1.202 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.21, allocations: 8 kB / 1.202 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.21, allocations: 0 / 1.202 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/1.211, allocations: 88.86 kB / 1.202 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004019/1.215, allocations: 0.6006 MB / 1.202 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/1.218, allocations: 1.53 MB / 1.204 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/1.222, allocations: 378.1 kB / 1.204 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.224, allocations: 95.89 kB / 1.204 GB, free: 4.203 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.002406/1.226, allocations: 445.4 kB / 1.205 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.227, allocations: 158 kB / 1.205 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/1.242, allocations: 3.743 MB / 1.208 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/1.242, allocations: 24 kB / 1.208 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.242, allocations: 4 kB / 1.208 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.304e-05/1.242, allocations: 11.95 kB / 1.208 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/1.246, allocations: 2.471 MB / 1.211 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/1.246, allocations: 0 / 1.211 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004017/1.25, allocations: 0.5578 MB / 1.211 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007068/1.251, allocations: 92.77 kB / 1.211 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007166/1.252, allocations: 79.86 kB / 1.212 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/1.254, allocations: 1.559 MB / 1.213 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.254, allocations: 4 kB / 1.213 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.267, allocations: 3.222 MB / 1.216 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.269, allocations: 0.5723 MB / 1.217 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007471/1.269, allocations: 47.98 kB / 1.217 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003255/1.273, allocations: 287.7 kB / 1.217 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004439/1.273, allocations: 161.7 kB / 1.217 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003845/1.274, allocations: 95.91 kB / 1.217 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001297/1.275, allocations: 0.688 MB / 1.218 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/1.275, allocations: 0 / 1.218 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002467/1.277, allocations: 0.6348 MB / 1.219 GB, free: 5.09 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,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.001938/1.279, allocations: 0.6547 MB / 1.219 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.291, allocations: 3.135 MB / 1.222 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.291, allocations: 0 / 1.222 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.006321/1.297, allocations: 1.767 MB / 1.224 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.299, allocations: 294.4 kB / 1.224 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.312, allocations: 5.087 MB / 1.229 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.314, allocations: 1.469 MB / 1.231 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00513/1.319, allocations: 0.5713 MB / 1.231 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/1.321, allocations: 239.2 kB / 1.232 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of SimCode: time 1.783e-06/1.321, allocations: 0 / 1.232 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of Templates: time 0.629/1.95, allocations: 27.86 MB / 1.259 GB, free: 226.6 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","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches