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.001165/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001583/0.001583, allocations: 195.2 kB / 16.14 MB, free: 6.652 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.454/2.454, allocations: 390.2 MB / 0.6642 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.89 kB / 0.8118 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6564/0.6577, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007114/0.6648, allocations: 6.436 MB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.8343, allocations: 149.3 MB / 1.101 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.8355, allocations: 23.88 kB / 1.101 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.8363, allocations: 194.3 kB / 1.101 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.8382, allocations: 0.5723 MB / 1.102 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.8409, allocations: 1.218 MB / 1.103 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003049/0.844, allocations: 2.465 MB / 1.105 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.8458, allocations: 1.561 MB / 1.107 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.8473, allocations: 0.9688 MB / 1.108 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.8488, allocations: 1.171 MB / 1.109 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.8491, allocations: 163.9 kB / 1.109 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.8502, allocations: 0.5035 MB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.8507, allocations: 0.537 MB / 1.11 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.8517, allocations: 1.103 MB / 1.111 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.8548, allocations: 3.345 MB / 1.114 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8549, allocations: 0 / 1.114 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8549, allocations: 0 / 1.114 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.3e-05/0.8549, allocations: 4 kB / 1.114 GB, free: 7.887 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.006155/0.8611, allocations: 2.772 MB / 1.117 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.8611, allocations: 12.03 kB / 1.117 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01652/0.8777, allocations: 2.108 MB / 1.119 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.8806, allocations: 1.263 MB / 1.12 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.8808, allocations: 172.5 kB / 1.121 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/0.8813, allocations: 220 kB / 1.121 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009308/0.8906, allocations: 3.278 MB / 1.124 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.8907, allocations: 3.984 kB / 1.124 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002944/0.891, allocations: 96 kB / 1.124 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.891, allocations: 52 kB / 1.124 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.9044, allocations: 4.205 MB / 1.128 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.9213, allocations: 7.308 MB / 1.135 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009367/0.9307, allocations: 2.884 MB / 1.138 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004433/0.9352, allocations: 1.489 MB / 1.14 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007853/0.936, allocations: 0.4996 MB / 1.14 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005504/0.9415, allocations: 1.855 MB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 4.148e-06/0.9416, allocations: 0 / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01505/0.9566, allocations: 4.458 MB / 1.146 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/0.9569, allocations: 205.9 kB / 1.147 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.9586, allocations: 0.9486 MB / 1.147 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003644/0.959, allocations: 65.7 kB / 1.148 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009176/0.9599, allocations: 0.731 MB / 1.148 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009559/0.9609, allocations: 0.6814 MB / 1.149 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008644/0.9617, allocations: 399.2 kB / 1.149 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9619, allocations: 301.1 kB / 1.15 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/0.966, allocations: 1.253 MB / 1.151 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004337/0.9704, allocations: 1.437 MB / 1.152 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008457/0.9788, allocations: 2.606 MB / 1.155 GB, free: 13.99 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.9789, allocations: 4 kB / 1.155 GB, free: 13.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01036/0.9893, allocations: 3.116 MB / 1.158 GB, free: 10.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.9893, allocations: 8 kB / 1.158 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.9893, allocations: 0 / 1.158 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006383/0.99, allocations: 96.77 kB / 1.158 GB, free: 10.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/0.994, allocations: 0.5929 MB / 1.158 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.9963, allocations: 1.528 MB / 1.16 GB, free: 8.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003575/0.9998, allocations: 366.1 kB / 1.16 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003853/1, allocations: 103.9 kB / 1.16 GB, free: 8.031 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.001126/1.001, allocations: 436 kB / 1.161 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/1.002, allocations: 158 kB / 1.161 GB, free: 7.438 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.013, allocations: 3.716 MB / 1.165 GB, free: 3.699 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/1.013, allocations: 27.94 kB / 1.165 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.013, allocations: 0 / 1.165 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/1.013, allocations: 11.95 kB / 1.165 GB, free: 3.66 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/1.016, allocations: 2.447 MB / 1.167 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/1.016, allocations: 4 kB / 1.167 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003558/1.02, allocations: 0.5617 MB / 1.168 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005544/1.02, allocations: 80.78 kB / 1.168 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/1.021, allocations: 79.91 kB / 1.168 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.023, allocations: 1.548 MB / 1.169 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.023, allocations: 0 / 1.169 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/1.033, allocations: 3.21 MB / 1.172 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.034, allocations: 0.5452 MB / 1.173 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003463/1.034, allocations: 51.78 kB / 1.173 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/1.037, allocations: 271.7 kB / 1.173 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/1.038, allocations: 153.8 kB / 1.173 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/1.038, allocations: 91.91 kB / 1.173 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001105/1.039, allocations: 0.6958 MB / 1.174 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/1.039, allocations: 0 / 1.174 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00186/1.041, allocations: 0.6465 MB / 1.175 GB, free: 9.039 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.00172/1.042, allocations: 0.6678 MB / 1.175 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.009223/1.052, allocations: 3.151 MB / 1.179 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.052, allocations: 0 / 1.179 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004763/1.057, allocations: 1.763 MB / 1.18 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/1.058, allocations: 339.8 kB / 1.181 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009837/1.068, allocations: 5.182 MB / 1.186 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009009/1.069, allocations: 1.43 MB / 1.187 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003658/1.073, allocations: 0.5791 MB / 1.188 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.074, allocations: 227.2 kB / 1.188 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of SimCode: time 7.72e-07/1.074, allocations: 4 kB / 1.188 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of Templates: time 0.04916/1.123, allocations: 28.9 MB / 1.216 GB, free: 15.04 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