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.001539/0.001539, allocations: 102.2 kB / 16.27 MB, free: 6 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.001618/0.001618, allocations: 191 kB / 17.2 MB, free: 5.609 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.248/2.248, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.59 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008355/0.286, allocations: 6.484 MB / 0.9566 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7175/1.004, allocations: 151.6 MB / 1.105 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/1.005, allocations: 23.31 kB / 1.105 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007677/1.006, allocations: 257.6 kB / 1.105 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/1.008, allocations: 0.6895 MB / 1.106 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/1.011, allocations: 1.356 MB / 1.107 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003942/1.015, allocations: 2.656 MB / 1.11 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/1.018, allocations: 1.594 MB / 1.111 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/1.02, allocations: 1.131 MB / 1.112 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/1.023, allocations: 1.288 MB / 1.113 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008571/1.024, allocations: 325.8 kB / 1.114 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/1.026, allocations: 0.6787 MB / 1.114 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006666/1.026, allocations: 0.6974 MB / 1.115 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/1.028, allocations: 1.275 MB / 1.116 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004313/1.032, allocations: 3.483 MB / 1.12 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.032, allocations: 1.031 kB / 1.12 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.423e-06/1.032, allocations: 0 / 1.12 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.192e-05/1.032, allocations: 0 / 1.12 GB, free: 18.71 MB / 0.8731 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.006568/1.039, allocations: 2.777 MB / 1.122 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.039, allocations: 13.44 kB / 1.122 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/1.054, allocations: 2.11 MB / 1.125 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/1.058, allocations: 1.27 MB / 1.126 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/1.058, allocations: 165.2 kB / 1.126 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006534/1.058, allocations: 217.7 kB / 1.126 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/1.07, allocations: 3.283 MB / 1.129 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.289e-05/1.07, allocations: 1.469 kB / 1.129 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003838/1.07, allocations: 91.94 kB / 1.129 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/1.07, allocations: 54.47 kB / 1.129 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/1.085, allocations: 4.2 MB / 1.134 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02165/1.106, allocations: 7.315 MB / 1.141 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/1.117, allocations: 2.874 MB / 1.144 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005069/1.123, allocations: 1.489 MB / 1.145 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008834/1.123, allocations: 0.5029 MB / 1.145 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006222/1.13, allocations: 1.843 MB / 1.147 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 1.09e-05/1.13, allocations: 4.094 kB / 1.147 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.01617/1.146, allocations: 4.452 MB / 1.152 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/1.146, allocations: 210.5 kB / 1.152 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/1.148, allocations: 0.9508 MB / 1.153 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005693/1.148, allocations: 64.39 kB / 1.153 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007287/1.149, allocations: 0.7347 MB / 1.154 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009591/1.15, allocations: 0.6834 MB / 1.154 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007822/1.151, allocations: 394.4 kB / 1.155 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.151, allocations: 309 kB / 1.155 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004263/1.155, allocations: 1.259 MB / 1.156 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/1.16, allocations: 1.434 MB / 1.157 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009147/1.169, allocations: 2.602 MB / 1.16 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/1.169, allocations: 0 / 1.16 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01235/1.182, allocations: 3.12 MB / 1.163 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.182, allocations: 5.25 kB / 1.163 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.182, allocations: 2.719 kB / 1.163 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/1.182, allocations: 92.38 kB / 1.163 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/1.186, allocations: 0.6022 MB / 1.164 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/1.189, allocations: 1.631 MB / 1.165 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/1.193, allocations: 379.5 kB / 1.166 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007606/1.193, allocations: 96.77 kB / 1.166 GB, free: 14.54 MB / 0.8887 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.002112/1.195, allocations: 445.6 kB / 1.166 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.197, allocations: 155.5 kB / 1.166 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/1.21, allocations: 3.71 MB / 1.17 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.21, allocations: 26.91 kB / 1.17 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.21, allocations: 0 / 1.17 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.444e-05/1.21, allocations: 11.95 kB / 1.17 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/1.215, allocations: 2.456 MB / 1.172 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/1.215, allocations: 0 / 1.172 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/1.219, allocations: 0.5583 MB / 1.173 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005492/1.219, allocations: 89.02 kB / 1.173 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005585/1.22, allocations: 74.75 kB / 1.173 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/1.222, allocations: 1.655 MB / 1.175 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.222, allocations: 2.188 kB / 1.175 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.234, allocations: 3.207 MB / 1.178 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.236, allocations: 0.5466 MB / 1.178 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008723/1.237, allocations: 51.69 kB / 1.178 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003401/1.24, allocations: 270.1 kB / 1.179 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004884/1.241, allocations: 150.8 kB / 1.179 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004041/1.241, allocations: 92.56 kB / 1.179 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001444/1.243, allocations: 0.7045 MB / 1.18 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.3e-07/1.243, allocations: 0 / 1.18 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002649/1.246, allocations: 0.6383 MB / 1.18 GB, free: 5.477 MB / 0.8887 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.002154/1.248, allocations: 0.6672 MB / 1.181 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01508/1.263, allocations: 3.673 MB / 1.185 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/1.263, allocations: 0 / 1.185 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.006218/1.269, allocations: 1.754 MB / 1.186 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/1.272, allocations: 365.1 kB / 1.187 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/1.284, allocations: 4.274 MB / 1.191 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.286, allocations: 1.418 MB / 1.192 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002342/1.288, allocations: 291.1 kB / 1.192 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of SimCode: time 1.292e-06/1.288, allocations: 0 / 1.192 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.06218/1.35, allocations: 41.6 MB / 1.233 GB, free: 3.953 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches