Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_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_9_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.007151/0.007151, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001223/0.001223, allocations: 190.4 kB / 16.67 MB, free: 5.977 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: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.27 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3016, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008358/0.31, allocations: 6.476 MB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.4693, allocations: 151.6 MB / 1.242 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.4705, allocations: 27.88 kB / 1.242 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000954/0.4715, allocations: 253.3 kB / 1.243 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.4741, allocations: 0.7139 MB / 1.243 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.4773, allocations: 1.363 MB / 1.245 GB, free: 480 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003433/0.4807, allocations: 2.668 MB / 1.247 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.4829, allocations: 1.596 MB / 1.249 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.4847, allocations: 1.156 MB / 1.25 GB, free: 10.97 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.4863, allocations: 1.292 MB / 1.251 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003922/0.4867, allocations: 324 kB / 1.251 GB, free: 9.359 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.4879, allocations: 0.7105 MB / 1.252 GB, free: 8.648 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005798/0.4885, allocations: 0.6855 MB / 1.253 GB, free: 7.961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.4896, allocations: 1.271 MB / 1.254 GB, free: 6.684 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.4937, allocations: 3.559 MB / 1.258 GB, free: 3.113 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4937, allocations: 3.938 kB / 1.258 GB, free: 3.109 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.926e-06/0.4937, allocations: 0 / 1.258 GB, free: 3.109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.918e-05/0.4938, allocations: 0 / 1.258 GB, free: 3.109 MB / 1.014 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.006311/0.5001, allocations: 2.776 MB / 1.26 GB, free: 260 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5002, allocations: 8.031 kB / 1.26 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7022/1.202, allocations: 2.104 MB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003461/1.206, allocations: 1.289 MB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/1.206, allocations: 171.8 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/1.207, allocations: 217.1 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/1.217, allocations: 3.28 MB / 1.267 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.634e-05/1.217, allocations: 0.9375 kB / 1.267 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/1.217, allocations: 96.92 kB / 1.267 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.844e-05/1.217, allocations: 54.22 kB / 1.267 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/1.233, allocations: 4.206 MB / 1.271 GB, free: 170.6 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/1.25, allocations: 7.232 MB / 1.278 GB, free: 167.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008555/1.259, allocations: 2.875 MB / 1.281 GB, free: 166.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004296/1.263, allocations: 1.49 MB / 1.283 GB, free: 165.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007171/1.264, allocations: 0.5062 MB / 1.283 GB, free: 165.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00546/1.27, allocations: 1.846 MB / 1.285 GB, free: 164.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 1.211e-05/1.27, allocations: 3.938 kB / 1.285 GB, free: 164.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01479/1.284, allocations: 4.461 MB / 1.289 GB, free: 162.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.285, allocations: 203 kB / 1.29 GB, free: 162.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/1.287, allocations: 0.9416 MB / 1.29 GB, free: 161.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003268/1.287, allocations: 68.66 kB / 1.291 GB, free: 161.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007511/1.288, allocations: 0.7489 MB / 1.291 GB, free: 160.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007294/1.289, allocations: 0.6752 MB / 1.292 GB, free: 160.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/1.29, allocations: 401.4 kB / 1.292 GB, free: 160.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/1.29, allocations: 305.1 kB / 1.293 GB, free: 159.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003998/1.294, allocations: 1.255 MB / 1.294 GB, free: 159.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004209/1.298, allocations: 1.436 MB / 1.295 GB, free: 158.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008066/1.306, allocations: 2.604 MB / 1.298 GB, free: 157 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/1.306, allocations: 3.938 kB / 1.298 GB, free: 157 MB / 1.014 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01059/1.317, allocations: 3.12 MB / 1.301 GB, free: 155.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.317, allocations: 6.812 kB / 1.301 GB, free: 155.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/1.317, allocations: 2.625 kB / 1.301 GB, free: 155.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006587/1.317, allocations: 89.95 kB / 1.301 GB, free: 155.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/1.321, allocations: 0.5983 MB / 1.302 GB, free: 155.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/1.323, allocations: 1.637 MB / 1.303 GB, free: 153.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/1.327, allocations: 362.4 kB / 1.303 GB, free: 153.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007606/1.328, allocations: 97.98 kB / 1.304 GB, free: 153.4 MB / 1.014 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.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 (239): * Single equations (assignments): 238 * 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.0021/1.33, allocations: 443.2 kB / 1.304 GB, free: 153.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009526/1.331, allocations: 157 kB / 1.304 GB, free: 153 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.343, allocations: 3.716 MB / 1.308 GB, free: 150.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/1.343, allocations: 24.06 kB / 1.308 GB, free: 150.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.343, allocations: 0 / 1.308 GB, free: 150.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/1.343, allocations: 11.95 kB / 1.308 GB, free: 150.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/1.347, allocations: 2.462 MB / 1.31 GB, free: 149.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/1.347, allocations: 0 / 1.31 GB, free: 149.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/1.35, allocations: 0.5578 MB / 1.311 GB, free: 148.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/1.351, allocations: 78.25 kB / 1.311 GB, free: 148.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003555/1.351, allocations: 75.91 kB / 1.311 GB, free: 148.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/1.353, allocations: 1.65 MB / 1.312 GB, free: 146.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.353, allocations: 3.938 kB / 1.312 GB, free: 146.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009025/1.362, allocations: 3.207 MB / 1.316 GB, free: 143.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.363, allocations: 0.5491 MB / 1.316 GB, free: 142.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005075/1.363, allocations: 55.83 kB / 1.316 GB, free: 142.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003366/1.367, allocations: 272.5 kB / 1.316 GB, free: 142.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004589/1.367, allocations: 153.7 kB / 1.317 GB, free: 142.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003881/1.368, allocations: 95.91 kB / 1.317 GB, free: 142.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001757/1.369, allocations: 0.6997 MB / 1.317 GB, free: 141.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.1e-07/1.369, allocations: 0 / 1.317 GB, free: 141.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003012/1.372, allocations: 0.6412 MB / 1.318 GB, free: 140.9 MB / 1.014 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 (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.002343/1.375, allocations: 0.655 MB / 1.319 GB, free: 140.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01377/1.389, allocations: 3.163 MB / 1.322 GB, free: 137.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.389, allocations: 4 kB / 1.322 GB, free: 137.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007208/1.396, allocations: 1.751 MB / 1.323 GB, free: 135.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/1.398, allocations: 361.5 kB / 1.324 GB, free: 135.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.411, allocations: 4.178 MB / 1.328 GB, free: 131 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/1.412, allocations: 1.427 MB / 1.329 GB, free: 129.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002876/1.415, allocations: 0.5713 MB / 1.33 GB, free: 129 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009247/1.416, allocations: 243.2 kB / 1.33 GB, free: 128.8 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.416, allocations: 0 / 1.33 GB, free: 128.8 MB / 1.014 GB Notification: Performance of Templates: time 0.04199/1.458, allocations: 30.57 MB / 1.36 GB, free: 98.34 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches