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.00117/0.00117, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001139/0.001139, allocations: 187 kB / 17.34 MB, free: 5.742 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 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.296/2.296, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9449/0.9464, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007416/0.9539, allocations: 6.458 MB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2134/1.167, allocations: 151.6 MB / 1.243 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/1.169, allocations: 28.38 kB / 1.243 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008612/1.17, allocations: 257.9 kB / 1.243 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002683/1.173, allocations: 0.7048 MB / 1.244 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/1.176, allocations: 1.359 MB / 1.245 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003369/1.18, allocations: 2.674 MB / 1.248 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/1.182, allocations: 1.596 MB / 1.249 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/1.184, allocations: 1.16 MB / 1.251 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/1.185, allocations: 1.298 MB / 1.252 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003895/1.185, allocations: 328 kB / 1.252 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/1.187, allocations: 0.7027 MB / 1.253 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005581/1.187, allocations: 0.6971 MB / 1.253 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/1.188, allocations: 1.271 MB / 1.255 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/1.192, allocations: 3.553 MB / 1.258 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.192, allocations: 0 / 1.258 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.465e-06/1.192, allocations: 0 / 1.258 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.557e-05/1.192, allocations: 0 / 1.258 GB, free: 15.98 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.006022/1.198, allocations: 2.784 MB / 1.261 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.198, allocations: 12.03 kB / 1.261 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/1.214, allocations: 2.108 MB / 1.263 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/1.218, allocations: 1.286 MB / 1.264 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/1.218, allocations: 172.5 kB / 1.264 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005789/1.219, allocations: 216 kB / 1.265 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009478/1.228, allocations: 3.282 MB / 1.268 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/1.228, allocations: 0 / 1.268 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/1.228, allocations: 92 kB / 1.268 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/1.229, allocations: 56 kB / 1.268 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/1.241, allocations: 4.201 MB / 1.272 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/1.258, allocations: 7.238 MB / 1.279 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009014/1.267, allocations: 2.883 MB / 1.282 GB, free: 7.316 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004478/1.271, allocations: 1.486 MB / 1.283 GB, free: 5.828 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007745/1.272, allocations: 0.5074 MB / 1.284 GB, free: 5.227 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005229/1.277, allocations: 1.84 MB / 1.286 GB, free: 3.367 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 4.809e-06/1.278, allocations: 0 / 1.286 GB, free: 3.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.01542/1.293, allocations: 4.458 MB / 1.29 GB, free: 14.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002119/1.293, allocations: 205.9 kB / 1.29 GB, free: 14.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/1.295, allocations: 0.9447 MB / 1.291 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002842/1.295, allocations: 69.81 kB / 1.291 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007433/1.296, allocations: 0.7387 MB / 1.292 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/1.297, allocations: 0.6892 MB / 1.293 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009381/1.298, allocations: 395.2 kB / 1.293 GB, free: 11.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.298, allocations: 305.1 kB / 1.293 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004348/1.302, allocations: 1.249 MB / 1.295 GB, free: 10.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004616/1.307, allocations: 1.437 MB / 1.296 GB, free: 8.746 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008803/1.316, allocations: 2.602 MB / 1.298 GB, free: 6.125 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.316, allocations: 4 kB / 1.298 GB, free: 6.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01065/1.326, allocations: 3.124 MB / 1.302 GB, free: 2.984 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/1.326, allocations: 8 kB / 1.302 GB, free: 2.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.326, allocations: 0 / 1.302 GB, free: 2.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/1.327, allocations: 88.84 kB / 1.302 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/1.331, allocations: 0.6006 MB / 1.302 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/1.333, allocations: 1.642 MB / 1.304 GB, free: 0.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/1.337, allocations: 366 kB / 1.304 GB, free: 144 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/1.337, allocations: 95.89 kB / 1.304 GB, free: 48 kB / 1.029 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.001366/1.338, allocations: 444 kB / 1.305 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00076/1.339, allocations: 154.1 kB / 1.305 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.352, allocations: 3.704 MB / 1.308 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/1.352, allocations: 27.94 kB / 1.308 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.352, allocations: 0 / 1.308 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/1.352, allocations: 11.95 kB / 1.308 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/1.356, allocations: 2.444 MB / 1.311 GB, free: 9.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/1.356, allocations: 0 / 1.311 GB, free: 9.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/1.359, allocations: 0.5733 MB / 1.311 GB, free: 8.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004903/1.36, allocations: 72.8 kB / 1.311 GB, free: 8.547 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002739/1.36, allocations: 71.91 kB / 1.312 GB, free: 8.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/1.362, allocations: 1.658 MB / 1.313 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.362, allocations: 7.922 kB / 1.313 GB, free: 6.66 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.373, allocations: 3.207 MB / 1.316 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.374, allocations: 0.5413 MB / 1.317 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/1.374, allocations: 59.77 kB / 1.317 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/1.377, allocations: 274.4 kB / 1.317 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/1.378, allocations: 149.7 kB / 1.317 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/1.378, allocations: 95.91 kB / 1.317 GB, free: 2.301 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001276/1.379, allocations: 0.6958 MB / 1.318 GB, free: 1.598 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.323e-06/1.379, allocations: 0 / 1.318 GB, free: 1.598 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002053/1.381, allocations: 0.6503 MB / 1.319 GB, free: 0.9453 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.001851/1.383, allocations: 0.6485 MB / 1.319 GB, free: 476 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.394, allocations: 3.174 MB / 1.322 GB, free: 13.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.394, allocations: 7.906 kB / 1.322 GB, free: 13.27 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005576/1.4, allocations: 1.74 MB / 1.324 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/1.402, allocations: 364.5 kB / 1.324 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/1.413, allocations: 4.216 MB / 1.329 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.414, allocations: 1.438 MB / 1.33 GB, free: 5.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.417, allocations: 279.2 kB / 1.33 GB, free: 5.184 MB / 1.061 GB Notification: Performance of SimCode: time 2.605e-06/1.417, allocations: 0 / 1.33 GB, free: 5.184 MB / 1.061 GB Notification: Performance of Templates: time 0.05872/1.475, allocations: 41.84 MB / 1.371 GB, free: 11.37 MB / 1.107 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