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.001374/0.001374, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001662/0.001662, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.402/2.402, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.14 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6783, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006494/0.6849, allocations: 6.442 MB / 0.9554 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1856/0.8705, allocations: 149.4 MB / 1.101 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.8723, allocations: 23.88 kB / 1.101 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.8735, allocations: 186.4 kB / 1.101 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.8766, allocations: 0.6079 MB / 1.102 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.8799, allocations: 1.234 MB / 1.103 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00354/0.8834, allocations: 2.672 MB / 1.106 GB, free: 1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.8861, allocations: 1.6 MB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.8882, allocations: 1.141 MB / 1.109 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00307/0.8913, allocations: 1.284 MB / 1.11 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001602/0.8929, allocations: 324 kB / 1.11 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.8953, allocations: 0.6715 MB / 1.111 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.8965, allocations: 0.6932 MB / 1.111 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.8987, allocations: 1.275 MB / 1.113 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.9036, allocations: 3.474 MB / 1.116 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.9036, allocations: 0 / 1.116 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9036, allocations: 0 / 1.116 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.988e-05/0.9037, allocations: 4 kB / 1.116 GB, free: 6.449 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.007231/0.9109, allocations: 2.772 MB / 1.119 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.911, allocations: 15.97 kB / 1.119 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.9273, allocations: 2.112 MB / 1.121 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/0.9302, allocations: 1.266 MB / 1.122 GB, free: 152 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.9305, allocations: 172.5 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007745/0.9312, allocations: 220 kB / 1.122 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.9415, allocations: 3.274 MB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/0.9416, allocations: 4 kB / 1.126 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004076/0.942, allocations: 92 kB / 1.126 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.9421, allocations: 52 kB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.9554, allocations: 4.209 MB / 1.13 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.9754, allocations: 7.316 MB / 1.137 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00966/0.9851, allocations: 2.883 MB / 1.14 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004852/0.99, allocations: 1.485 MB / 1.141 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009728/0.991, allocations: 0.5074 MB / 1.142 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00606/0.9971, allocations: 1.848 MB / 1.144 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 4.809e-06/0.9972, allocations: 0 / 1.144 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01724/1.014, allocations: 4.462 MB / 1.148 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.015, allocations: 201.9 kB / 1.148 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/1.016, allocations: 0.9486 MB / 1.149 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000468/1.017, allocations: 65.7 kB / 1.149 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007606/1.018, allocations: 0.731 MB / 1.15 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009475/1.019, allocations: 0.6814 MB / 1.151 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/1.02, allocations: 399.2 kB / 1.151 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.02, allocations: 305.1 kB / 1.151 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004425/1.024, allocations: 1.253 MB / 1.152 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004799/1.029, allocations: 1.434 MB / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009339/1.038, allocations: 2.606 MB / 1.156 GB, free: 12.53 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/1.038, allocations: 0 / 1.156 GB, free: 12.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0116/1.05, allocations: 3.116 MB / 1.159 GB, free: 9.402 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.05, allocations: 12 kB / 1.159 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.05, allocations: 0 / 1.159 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006819/1.051, allocations: 92.7 kB / 1.16 GB, free: 9.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004104/1.055, allocations: 0.5968 MB / 1.16 GB, free: 8.699 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/1.057, allocations: 1.646 MB / 1.162 GB, free: 6.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/1.061, allocations: 356.5 kB / 1.162 GB, free: 6.562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006904/1.062, allocations: 103.9 kB / 1.162 GB, free: 6.461 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.001672/1.064, allocations: 444.1 kB / 1.163 GB, free: 6.016 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006609/1.064, allocations: 158.1 kB / 1.163 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.077, allocations: 3.72 MB / 1.166 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/1.077, allocations: 24 kB / 1.166 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.077, allocations: 0 / 1.166 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/1.077, allocations: 11.95 kB / 1.166 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/1.081, allocations: 2.448 MB / 1.169 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.081, allocations: 0 / 1.169 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/1.084, allocations: 0.5616 MB / 1.169 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/1.085, allocations: 80.78 kB / 1.169 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/1.085, allocations: 71.91 kB / 1.169 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/1.087, allocations: 1.658 MB / 1.171 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.087, allocations: 4.062 kB / 1.171 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.099, allocations: 3.218 MB / 1.174 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.1, allocations: 0.5412 MB / 1.175 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005116/1.1, allocations: 55.88 kB / 1.175 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003109/1.103, allocations: 259.7 kB / 1.175 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/1.104, allocations: 149.8 kB / 1.175 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003234/1.104, allocations: 103.9 kB / 1.175 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001119/1.105, allocations: 0.6919 MB / 1.176 GB, free: 8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.105, allocations: 0 / 1.176 GB, free: 8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002017/1.107, allocations: 0.6387 MB / 1.177 GB, free: 7.359 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.001791/1.109, allocations: 0.6632 MB / 1.177 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01489/1.124, allocations: 3.678 MB / 1.181 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.124, allocations: 0 / 1.181 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00586/1.13, allocations: 1.763 MB / 1.183 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/1.133, allocations: 354.4 kB / 1.183 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/1.145, allocations: 5.19 MB / 1.188 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.146, allocations: 1.438 MB / 1.189 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004279/1.151, allocations: 0.5714 MB / 1.19 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.152, allocations: 239.2 kB / 1.19 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of SimCode: time 1.953e-06/1.152, allocations: 0 / 1.19 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of Templates: time 0.04888/1.201, allocations: 30.01 MB / 1.219 GB, free: 11.73 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