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.001081/0.001081, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.486/2.486, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 71.88 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8048, allocations: 140.4 MB / 0.9496 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009101/0.814, allocations: 6.475 MB / 0.9559 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2135/1.028, allocations: 151.6 MB / 1.104 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/1.03, allocations: 27.88 kB / 1.104 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/1.032, allocations: 245.3 kB / 1.104 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/1.036, allocations: 0.7035 MB / 1.105 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004241/1.04, allocations: 1.358 MB / 1.106 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004453/1.044, allocations: 2.657 MB / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/1.047, allocations: 1.6 MB / 1.11 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/1.049, allocations: 1.129 MB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/1.051, allocations: 1.284 MB / 1.113 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005371/1.051, allocations: 324 kB / 1.113 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/1.053, allocations: 0.6754 MB / 1.114 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006737/1.054, allocations: 0.6971 MB / 1.114 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001299/1.055, allocations: 1.271 MB / 1.116 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00533/1.06, allocations: 3.486 MB / 1.119 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.06, allocations: 0 / 1.119 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.844e-06/1.06, allocations: 4 kB / 1.119 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.864e-05/1.06, allocations: 0 / 1.119 GB, free: 3.742 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.007263/1.068, allocations: 2.776 MB / 1.122 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.068, allocations: 8.031 kB / 1.122 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/1.084, allocations: 2.112 MB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/1.087, allocations: 1.267 MB / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/1.088, allocations: 168.5 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000694/1.088, allocations: 219.9 kB / 1.125 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/1.099, allocations: 3.278 MB / 1.129 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/1.099, allocations: 0 / 1.129 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/1.099, allocations: 92 kB / 1.129 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-05/1.099, allocations: 63.98 kB / 1.129 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/1.113, allocations: 4.201 MB / 1.133 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/1.132, allocations: 7.308 MB / 1.14 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009907/1.142, allocations: 2.891 MB / 1.143 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005074/1.147, allocations: 1.485 MB / 1.144 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/1.148, allocations: 0.4995 MB / 1.145 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00631/1.155, allocations: 1.844 MB / 1.147 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 5.841e-06/1.155, allocations: 0 / 1.147 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01691/1.172, allocations: 4.462 MB / 1.151 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001672/1.172, allocations: 205.9 kB / 1.151 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/1.174, allocations: 0.9486 MB / 1.152 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005368/1.174, allocations: 61.7 kB / 1.152 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007021/1.175, allocations: 0.735 MB / 1.153 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.00091/1.176, allocations: 0.6816 MB / 1.153 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008025/1.177, allocations: 399.2 kB / 1.154 GB, free: 15.48 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.177, allocations: 301.1 kB / 1.154 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00456/1.181, allocations: 1.257 MB / 1.155 GB, free: 13.92 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004938/1.186, allocations: 1.433 MB / 1.157 GB, free: 12.46 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009636/1.196, allocations: 2.61 MB / 1.159 GB, free: 9.836 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.196, allocations: 4 kB / 1.159 GB, free: 9.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01194/1.208, allocations: 3.12 MB / 1.162 GB, free: 6.699 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/1.208, allocations: 4 kB / 1.162 GB, free: 6.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.208, allocations: 4 kB / 1.162 GB, free: 6.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/1.209, allocations: 88.83 kB / 1.162 GB, free: 6.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/1.213, allocations: 0.6006 MB / 1.163 GB, free: 6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/1.215, allocations: 1.638 MB / 1.165 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/1.219, allocations: 362.1 kB / 1.165 GB, free: 3.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004117/1.219, allocations: 103.9 kB / 1.165 GB, free: 3.762 MB / 0.92 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.001318/1.221, allocations: 432.1 kB / 1.166 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005288/1.221, allocations: 154 kB / 1.166 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.233, allocations: 3.724 MB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.233, allocations: 23.94 kB / 1.169 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.233, allocations: 4 kB / 1.169 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/1.234, allocations: 11.95 kB / 1.169 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/1.237, allocations: 2.447 MB / 1.172 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.237, allocations: 4 kB / 1.172 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003663/1.241, allocations: 0.5655 MB / 1.172 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000499/1.241, allocations: 72.78 kB / 1.172 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002848/1.242, allocations: 75.91 kB / 1.172 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/1.244, allocations: 1.658 MB / 1.174 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.244, allocations: 0 / 1.174 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/1.255, allocations: 3.218 MB / 1.177 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.256, allocations: 0.5451 MB / 1.178 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/1.256, allocations: 51.88 kB / 1.178 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/1.259, allocations: 265.4 kB / 1.178 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/1.26, allocations: 153.8 kB / 1.178 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/1.26, allocations: 91.91 kB / 1.178 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001111/1.261, allocations: 0.6997 MB / 1.179 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.9e-07/1.261, allocations: 0 / 1.179 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002264/1.263, allocations: 0.6387 MB / 1.18 GB, free: 4.672 MB / 0.9356 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.001959/1.265, allocations: 0.6652 MB / 1.18 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01473/1.28, allocations: 3.67 MB / 1.184 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.28, allocations: 4 kB / 1.184 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005625/1.286, allocations: 1.759 MB / 1.186 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.288, allocations: 369.7 kB / 1.186 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/1.299, allocations: 4.219 MB / 1.19 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.3, allocations: 1.43 MB / 1.191 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003841/1.304, allocations: 0.5791 MB / 1.192 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009573/1.305, allocations: 231.2 kB / 1.192 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of SimCode: time 7.42e-07/1.305, allocations: 4 kB / 1.192 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of Templates: time 0.0558/1.361, allocations: 30.18 MB / 1.222 GB, free: 9.832 MB / 0.9825 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