Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001754/0.001754, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.376/1.376, 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.2-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.97 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2625, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00587/0.2684, allocations: 4.435 MB / 0.9554 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6872/0.9556, allocations: 150.6 MB / 1.102 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009067/0.9565, allocations: 18.47 kB / 1.103 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006934/0.9573, allocations: 173.5 kB / 1.103 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002347/0.9597, allocations: 0.5149 MB / 1.103 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.9623, allocations: 0.8413 MB / 1.104 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.9648, allocations: 1.342 MB / 1.105 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.9664, allocations: 0.6484 MB / 1.106 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.9679, allocations: 492.6 kB / 1.106 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008979/0.9688, allocations: 0.5017 MB / 1.107 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.9691, allocations: 116.6 kB / 1.107 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.9704, allocations: 489.7 kB / 1.107 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.9708, allocations: 305.5 kB / 1.108 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.9714, allocations: 0.5536 MB / 1.108 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.9739, allocations: 1.624 MB / 1.11 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.974, allocations: 1.125 kB / 1.11 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.325e-06/0.974, allocations: 0.6562 kB / 1.11 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.42e-05/0.974, allocations: 0 / 1.11 GB, free: 4.543 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003609/0.9776, allocations: 1.443 MB / 1.111 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.9777, allocations: 15.25 kB / 1.111 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.9792, allocations: 232.6 kB / 1.112 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.9809, allocations: 0.7711 MB / 1.112 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.91e-05/0.981, allocations: 67.05 kB / 1.112 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.9812, allocations: 83.75 kB / 1.112 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.9831, allocations: 0.9787 MB / 1.113 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.9831, allocations: 5.062 kB / 1.113 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-05/0.9832, allocations: 40.95 kB / 1.113 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.9832, allocations: 25.38 kB / 1.113 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.9854, allocations: 1.157 MB / 1.115 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/0.9901, allocations: 2.794 MB / 1.117 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.9919, allocations: 0.9368 MB / 1.118 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.9925, allocations: 308.7 kB / 1.119 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.333e-05/0.9926, allocations: 31.64 kB / 1.119 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008684/0.9935, allocations: 0.5004 MB / 1.119 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 3.627e-06/0.9935, allocations: 0 / 1.119 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.003637/0.9971, allocations: 1.221 MB / 1.12 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.9973, allocations: 193.9 kB / 1.12 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.9984, allocations: 0.637 MB / 1.121 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.9985, allocations: 48.42 kB / 1.121 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.9989, allocations: 403.8 kB / 1.121 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.9992, allocations: 279 kB / 1.122 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.9995, allocations: 171.3 kB / 1.122 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.9997, allocations: 388.6 kB / 1.122 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/1, allocations: 269.8 kB / 1.123 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007162/1.001, allocations: 388.4 kB / 1.123 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/1.002, allocations: 0.6363 MB / 1.124 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.002, allocations: 5.141 kB / 1.124 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002225/1.005, allocations: 0.8799 MB / 1.124 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.005, allocations: 5.469 kB / 1.124 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.005, allocations: 4.906 kB / 1.124 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/1.005, allocations: 84.97 kB / 1.124 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/1.006, allocations: 174.6 kB / 1.125 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/1.008, allocations: 1.62 MB / 1.126 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000918/1.009, allocations: 103.4 kB / 1.126 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/1.009, allocations: 42.5 kB / 1.126 GB, free: 14.82 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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.0005533/1.01, allocations: 268.9 kB / 1.127 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/1.01, allocations: 88.77 kB / 1.127 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/1.012, allocations: 1.084 MB / 1.128 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/1.012, allocations: 10.25 kB / 1.128 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.012, allocations: 1.406 kB / 1.128 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.012, allocations: 4.312 kB / 1.128 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/1.017, allocations: 2.102 MB / 1.13 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.017, allocations: 0 / 1.13 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/1.017, allocations: 148 kB / 1.13 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/1.018, allocations: 76.41 kB / 1.13 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/1.018, allocations: 23.47 kB / 1.13 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/1.02, allocations: 1.658 MB / 1.132 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.02, allocations: 4.062 kB / 1.132 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/1.022, allocations: 1.016 MB / 1.133 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/1.023, allocations: 275 kB / 1.133 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/1.023, allocations: 18.97 kB / 1.133 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/1.024, allocations: 67.53 kB / 1.133 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.024, allocations: 73.75 kB / 1.133 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-05/1.024, allocations: 40.17 kB / 1.133 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007024/1.025, allocations: 462.9 kB / 1.134 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.025, allocations: 0 / 1.134 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001309/1.026, allocations: 319.9 kB / 1.134 GB, free: 12.12 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00144/1.027, allocations: 0.6012 MB / 1.134 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001946/1.029, allocations: 0.8595 MB / 1.135 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.029, allocations: 0 / 1.135 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/1.03, allocations: 0.5225 MB / 1.136 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/1.032, allocations: 296.2 kB / 1.136 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/1.036, allocations: 1.782 MB / 1.138 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/1.037, allocations: 1.028 MB / 1.139 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00102/1.038, allocations: 276.8 kB / 1.139 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/1.038, allocations: 109 kB / 1.139 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of SimCode: time 9.92e-07/1.038, allocations: 0 / 1.139 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.03263/1.071, allocations: 15.34 MB / 1.154 GB, free: 5.496 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches