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.006295/0.006295, allocations: 98.52 kB / 15.73 MB, free: 5.578 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.001304/0.001304, allocations: 188.4 kB / 16.67 MB, free: 5.516 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.219/2.219, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9622/0.9635, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00876/0.9723, allocations: 6.473 MB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2332/1.206, allocations: 151.6 MB / 1.242 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/1.208, allocations: 24.38 kB / 1.242 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/1.21, allocations: 256.5 kB / 1.243 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004786/1.215, allocations: 0.6998 MB / 1.243 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004333/1.219, allocations: 1.361 MB / 1.245 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004311/1.224, allocations: 2.672 MB / 1.247 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/1.226, allocations: 1.604 MB / 1.249 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001706/1.227, allocations: 1.149 MB / 1.25 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/1.229, allocations: 1.296 MB / 1.251 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003873/1.229, allocations: 324 kB / 1.251 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/1.231, allocations: 0.7066 MB / 1.252 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006373/1.231, allocations: 0.7049 MB / 1.253 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/1.233, allocations: 1.267 MB / 1.254 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004024/1.237, allocations: 3.566 MB / 1.258 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.237, allocations: 4 kB / 1.258 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.237, allocations: 0 / 1.258 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.275e-05/1.237, allocations: 0 / 1.258 GB, free: 15.95 MB / 0.9981 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.00617/1.243, allocations: 2.847 MB / 1.26 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.243, allocations: 8.031 kB / 1.26 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/1.259, allocations: 2.125 MB / 1.262 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/1.262, allocations: 1.291 MB / 1.264 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/1.263, allocations: 168.5 kB / 1.264 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008437/1.263, allocations: 220 kB / 1.264 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/1.274, allocations: 3.286 MB / 1.267 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.145e-05/1.275, allocations: 0 / 1.267 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/1.275, allocations: 92 kB / 1.267 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/1.275, allocations: 56 kB / 1.267 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/1.289, allocations: 4.205 MB / 1.271 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/1.308, allocations: 7.256 MB / 1.279 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009698/1.317, allocations: 2.883 MB / 1.281 GB, free: 7.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004732/1.322, allocations: 1.489 MB / 1.283 GB, free: 5.688 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009113/1.323, allocations: 0.5074 MB / 1.283 GB, free: 5.086 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005543/1.329, allocations: 1.84 MB / 1.285 GB, free: 3.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 6.101e-06/1.329, allocations: 0 / 1.285 GB, free: 3.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01589/1.344, allocations: 4.471 MB / 1.289 GB, free: 14.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/1.345, allocations: 206 kB / 1.29 GB, free: 14.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/1.346, allocations: 0.9525 MB / 1.291 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002491/1.347, allocations: 61.7 kB / 1.291 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008128/1.348, allocations: 0.764 MB / 1.291 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/1.348, allocations: 0.7087 MB / 1.292 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009074/1.349, allocations: 399.3 kB / 1.292 GB, free: 11.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.349, allocations: 301.1 kB / 1.293 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004327/1.354, allocations: 1.257 MB / 1.294 GB, free: 10.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004567/1.358, allocations: 1.433 MB / 1.295 GB, free: 8.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008864/1.367, allocations: 2.606 MB / 1.298 GB, free: 5.926 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/1.367, allocations: 4 kB / 1.298 GB, free: 5.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01069/1.378, allocations: 3.132 MB / 1.301 GB, free: 2.777 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/1.378, allocations: 8 kB / 1.301 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.378, allocations: 0 / 1.301 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/1.379, allocations: 88.83 kB / 1.301 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00387/1.383, allocations: 0.6006 MB / 1.302 GB, free: 2.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/1.385, allocations: 1.634 MB / 1.303 GB, free: 312 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.388, allocations: 366.6 kB / 1.304 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/1.389, allocations: 103.9 kB / 1.304 GB, free: 15.84 MB / 1.045 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.001348/1.39, allocations: 440 kB / 1.304 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006158/1.391, allocations: 159 kB / 1.304 GB, free: 15.24 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.404, allocations: 3.716 MB / 1.308 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/1.404, allocations: 24 kB / 1.308 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/1.404, allocations: 0 / 1.308 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-05/1.404, allocations: 11.95 kB / 1.308 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/1.408, allocations: 2.444 MB / 1.31 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/1.408, allocations: 7.938 kB / 1.31 GB, free: 8.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004002/1.412, allocations: 0.5655 MB / 1.311 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/1.412, allocations: 72.78 kB / 1.311 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003511/1.413, allocations: 75.91 kB / 1.311 GB, free: 8.262 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/1.415, allocations: 1.662 MB / 1.313 GB, free: 6.449 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.415, allocations: 0 / 1.313 GB, free: 6.449 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.427, allocations: 3.227 MB / 1.316 GB, free: 3.199 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.428, allocations: 0.546 MB / 1.316 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005977/1.429, allocations: 59.83 kB / 1.316 GB, free: 2.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/1.432, allocations: 263.7 kB / 1.317 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/1.433, allocations: 153.8 kB / 1.317 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/1.433, allocations: 91.91 kB / 1.317 GB, free: 2.074 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001341/1.434, allocations: 0.6996 MB / 1.318 GB, free: 1.367 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.6e-07/1.434, allocations: 4 kB / 1.318 GB, free: 1.363 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002295/1.436, allocations: 0.6429 MB / 1.318 GB, free: 0.7188 MB / 1.045 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.001881/1.438, allocations: 0.6765 MB / 1.319 GB, free: 220 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.449, allocations: 3.163 MB / 1.322 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.449, allocations: 0 / 1.322 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005637/1.455, allocations: 1.759 MB / 1.324 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/1.457, allocations: 354.5 kB / 1.324 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.468, allocations: 4.244 MB / 1.328 GB, free: 6.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.469, allocations: 1.43 MB / 1.33 GB, free: 5.195 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003448/1.473, allocations: 0.5674 MB / 1.33 GB, free: 4.621 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/1.474, allocations: 243.2 kB / 1.33 GB, free: 4.383 MB / 1.061 GB Notification: Performance of SimCode: time 7.21e-07/1.474, allocations: 0 / 1.33 GB, free: 4.383 MB / 1.061 GB Notification: Performance of Templates: time 0.05547/1.53, allocations: 30.57 MB / 1.36 GB, free: 5.977 MB / 1.092 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