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.001367/0.001367, allocations: 107.1 kB / 15.99 MB, free: 5.914 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.001413/0.001413, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.27 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.202/2.202, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.38 kB / 0.8127 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2589, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007929/0.2668, allocations: 6.445 MB / 0.9561 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6659/0.9327, allocations: 149.4 MB / 1.102 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.9341, allocations: 20.47 kB / 1.102 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007872/0.935, allocations: 193.2 kB / 1.102 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.9372, allocations: 0.5943 MB / 1.103 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.9401, allocations: 1.238 MB / 1.104 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003629/0.9437, allocations: 2.663 MB / 1.106 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.946, allocations: 1.589 MB / 1.108 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.9482, allocations: 1.144 MB / 1.109 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.9506, allocations: 1.289 MB / 1.11 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007894/0.9514, allocations: 324.2 kB / 1.111 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.9531, allocations: 0.6738 MB / 1.111 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008/0.9539, allocations: 0.699 MB / 1.112 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.9555, allocations: 1.273 MB / 1.113 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.9592, allocations: 2.703 MB / 1.116 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9593, allocations: 3.312 kB / 1.116 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9593, allocations: 0 / 1.116 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.812e-05/0.9594, allocations: 1.469 kB / 1.116 GB, free: 2.996 MB / 0.8575 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.007342/0.9667, allocations: 2.779 MB / 1.119 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.9668, allocations: 8.906 kB / 1.119 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/0.9824, allocations: 2.112 MB / 1.121 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.9856, allocations: 1.267 MB / 1.122 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.9858, allocations: 168.1 kB / 1.122 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007989/0.9867, allocations: 217.7 kB / 1.122 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.9967, allocations: 3.28 MB / 1.126 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/0.9968, allocations: 0 / 1.126 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003564/0.9971, allocations: 91.62 kB / 1.126 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.9972, allocations: 54.69 kB / 1.126 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/1.01, allocations: 4.205 MB / 1.13 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01848/1.029, allocations: 7.309 MB / 1.137 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009656/1.039, allocations: 2.874 MB / 1.14 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004515/1.043, allocations: 1.49 MB / 1.141 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008081/1.044, allocations: 0.5066 MB / 1.142 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005273/1.049, allocations: 1.846 MB / 1.144 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 4.559e-06/1.049, allocations: 1.594 kB / 1.144 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.01505/1.064, allocations: 4.453 MB / 1.148 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.065, allocations: 218.1 kB / 1.148 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/1.066, allocations: 0.9444 MB / 1.149 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004244/1.066, allocations: 67.7 kB / 1.149 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006264/1.067, allocations: 0.7376 MB / 1.15 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000717/1.068, allocations: 0.6843 MB / 1.15 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007685/1.069, allocations: 389 kB / 1.151 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/1.069, allocations: 306.5 kB / 1.151 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/1.073, allocations: 1.255 MB / 1.152 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/1.077, allocations: 1.43 MB / 1.154 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008198/1.085, allocations: 2.609 MB / 1.156 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.085, allocations: 0 / 1.156 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01008/1.095, allocations: 3.12 MB / 1.159 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/1.095, allocations: 8.328 kB / 1.159 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.096, allocations: 7.156 kB / 1.159 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/1.096, allocations: 84.52 kB / 1.159 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/1.1, allocations: 0.6057 MB / 1.16 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/1.102, allocations: 1.628 MB / 1.162 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/1.106, allocations: 366.5 kB / 1.162 GB, free: 444 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005471/1.106, allocations: 102.9 kB / 1.162 GB, free: 396 kB / 0.8731 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.001597/1.108, allocations: 450.9 kB / 1.162 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008299/1.109, allocations: 155.1 kB / 1.163 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.121, allocations: 3.718 MB / 1.166 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/1.121, allocations: 22.34 kB / 1.166 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.121, allocations: 0 / 1.166 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/1.121, allocations: 10.06 kB / 1.166 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/1.125, allocations: 2.449 MB / 1.169 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/1.125, allocations: 0 / 1.169 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003695/1.129, allocations: 0.5616 MB / 1.169 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005269/1.129, allocations: 83.28 kB / 1.169 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005058/1.13, allocations: 79.61 kB / 1.169 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/1.132, allocations: 1.658 MB / 1.171 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.132, allocations: 0 / 1.171 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.142, allocations: 3.206 MB / 1.174 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.144, allocations: 0.5481 MB / 1.175 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006832/1.144, allocations: 56.84 kB / 1.175 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/1.148, allocations: 269.3 kB / 1.175 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003898/1.148, allocations: 155 kB / 1.175 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003176/1.148, allocations: 92.03 kB / 1.175 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001072/1.149, allocations: 0.7021 MB / 1.176 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.31e-07/1.149, allocations: 0 / 1.176 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001999/1.151, allocations: 0.6399 MB / 1.177 GB, free: 7.316 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.001827/1.153, allocations: 0.6629 MB / 1.177 GB, free: 7 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01384/1.167, allocations: 3.665 MB / 1.181 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.167, allocations: 6.438 kB / 1.181 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005265/1.172, allocations: 1.75 MB / 1.182 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.175, allocations: 372.3 kB / 1.183 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.186, allocations: 5.241 MB / 1.188 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.187, allocations: 1.426 MB / 1.189 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.189, allocations: 295.1 kB / 1.19 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of SimCode: time 7.32e-07/1.189, allocations: 0 / 1.19 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.05567/1.245, allocations: 41.6 MB / 1.23 GB, free: 5.531 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