Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001318/0.001319, allocations: 102.2 kB / 16.27 MB, free: 6 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.001224/0.001224, allocations: 191 kB / 17.2 MB, free: 5.609 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 482.4 MB / 0.7553 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001962, allocations: 74.12 kB / 0.9245 GB, free: 24 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8351, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01106/0.8462, allocations: 8.422 MB / 1.091 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2068/1.053, allocations: 151.8 MB / 1.239 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/1.056, allocations: 27.88 kB / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/1.057, allocations: 328.6 kB / 1.24 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004103/1.061, allocations: 0.8596 MB / 1.241 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/1.065, allocations: 1.374 MB / 1.242 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004428/1.069, allocations: 2.978 MB / 1.245 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/1.071, allocations: 1.499 MB / 1.246 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/1.074, allocations: 1.184 MB / 1.247 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/1.076, allocations: 1.339 MB / 1.249 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005764/1.076, allocations: 324 kB / 1.249 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/1.078, allocations: 0.6754 MB / 1.25 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007237/1.078, allocations: 0.6972 MB / 1.25 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/1.08, allocations: 1.338 MB / 1.252 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004663/1.085, allocations: 3.583 MB / 1.255 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.085, allocations: 0 / 1.255 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/1.085, allocations: 0 / 1.255 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.303e-05/1.085, allocations: 0 / 1.255 GB, free: 13.9 MB / 0.9825 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.006915/1.092, allocations: 2.83 MB / 1.258 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.092, allocations: 12.02 kB / 1.258 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/1.107, allocations: 2.108 MB / 1.26 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/1.11, allocations: 1.27 MB / 1.261 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/1.11, allocations: 168.5 kB / 1.261 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/1.111, allocations: 216 kB / 1.262 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008924/1.12, allocations: 3.282 MB / 1.265 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/1.12, allocations: 0 / 1.265 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/1.12, allocations: 92 kB / 1.265 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/1.12, allocations: 59.98 kB / 1.265 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01285/1.133, allocations: 4.197 MB / 1.269 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/1.151, allocations: 8.208 MB / 1.277 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009882/1.161, allocations: 2.876 MB / 1.28 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00492/1.166, allocations: 1.489 MB / 1.281 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009527/1.167, allocations: 0.5113 MB / 1.282 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006046/1.173, allocations: 1.844 MB / 1.284 GB, free: 84 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 6.933e-06/1.173, allocations: 0 / 1.284 GB, free: 84 kB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01738/1.191, allocations: 4.466 MB / 1.288 GB, free: 11.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/1.191, allocations: 209.8 kB / 1.288 GB, free: 11.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/1.193, allocations: 0.9487 MB / 1.289 GB, free: 10.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003843/1.193, allocations: 61.7 kB / 1.289 GB, free: 10.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008319/1.194, allocations: 0.7466 MB / 1.29 GB, free: 9.551 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009605/1.195, allocations: 0.6815 MB / 1.291 GB, free: 8.859 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/1.196, allocations: 399.1 kB / 1.291 GB, free: 8.461 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.196, allocations: 301.1 kB / 1.291 GB, free: 8.164 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004509/1.201, allocations: 1.253 MB / 1.293 GB, free: 6.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004837/1.206, allocations: 1.441 MB / 1.294 GB, free: 5.445 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009097/1.215, allocations: 2.61 MB / 1.296 GB, free: 2.816 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.215, allocations: 0 / 1.296 GB, free: 2.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01093/1.226, allocations: 3.124 MB / 1.3 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.226, allocations: 8 kB / 1.3 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.226, allocations: 0 / 1.3 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/1.226, allocations: 88.84 kB / 1.3 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00382/1.23, allocations: 0.6006 MB / 1.3 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/1.233, allocations: 1.644 MB / 1.302 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/1.236, allocations: 366.1 kB / 1.302 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004067/1.236, allocations: 95.89 kB / 1.302 GB, free: 12.74 MB / 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.00129/1.238, allocations: 444.2 kB / 1.303 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005873/1.238, allocations: 158 kB / 1.303 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.251, allocations: 3.728 MB / 1.306 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/1.251, allocations: 20 kB / 1.306 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.251, allocations: 0 / 1.306 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/1.251, allocations: 11.95 kB / 1.306 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/1.255, allocations: 2.455 MB / 1.309 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/1.255, allocations: 7.984 kB / 1.309 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003685/1.259, allocations: 0.5616 MB / 1.309 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/1.26, allocations: 76.78 kB / 1.31 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003283/1.26, allocations: 67.92 kB / 1.31 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/1.262, allocations: 1.659 MB / 1.311 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.262, allocations: 0 / 1.311 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.273, allocations: 3.207 MB / 1.314 GB, free: 108 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.275, allocations: 0.549 MB / 1.315 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005466/1.275, allocations: 55.86 kB / 1.315 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/1.279, allocations: 274.1 kB / 1.315 GB, free: 15.21 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/1.279, allocations: 153.8 kB / 1.315 GB, free: 15.06 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003001/1.279, allocations: 91.91 kB / 1.315 GB, free: 14.97 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001281/1.281, allocations: 0.6958 MB / 1.316 GB, free: 14.27 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/1.281, allocations: 3.938 kB / 1.316 GB, free: 14.27 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002352/1.283, allocations: 0.6777 MB / 1.317 GB, free: 13.59 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.002725/1.286, allocations: 0.6532 MB / 1.317 GB, free: 13.1 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.301, allocations: 3.678 MB / 1.321 GB, free: 9.414 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.301, allocations: 0 / 1.321 GB, free: 9.414 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.005867/1.307, allocations: 1.751 MB / 1.323 GB, free: 7.648 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/1.309, allocations: 405.7 kB / 1.323 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.32, allocations: 4.178 MB / 1.327 GB, free: 3.062 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/1.321, allocations: 1.429 MB / 1.329 GB, free: 1.602 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/1.323, allocations: 283.2 kB / 1.329 GB, free: 1.324 MB / 1.045 GB Notification: Performance of SimCode: time 1.072e-06/1.323, allocations: 0 / 1.329 GB, free: 1.324 MB / 1.045 GB Notification: Performance of Templates: time 0.06606/1.389, allocations: 42.21 MB / 1.37 GB, free: 7.164 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches