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.001627/0.001627, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001743/0.001743, allocations: 191 kB / 17.29 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 14.99 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.17/2.17, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.08 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2484, allocations: 140.4 MB / 0.9511 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005936/0.2544, allocations: 4.431 MB / 0.9554 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6356/0.89, allocations: 150.6 MB / 1.102 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007764/0.8908, allocations: 19 kB / 1.103 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.8914, allocations: 171.8 kB / 1.103 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.8931, allocations: 0.512 MB / 1.103 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.8952, allocations: 0.8418 MB / 1.104 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001969/0.8972, allocations: 1.346 MB / 1.105 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.8983, allocations: 0.6407 MB / 1.106 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009888/0.8993, allocations: 493.2 kB / 1.106 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007577/0.9, allocations: 0.5022 MB / 1.107 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.9003, allocations: 118 kB / 1.107 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.9015, allocations: 487.4 kB / 1.107 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.9019, allocations: 302.1 kB / 1.108 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.9026, allocations: 0.5553 MB / 1.108 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.9051, allocations: 1.628 MB / 1.11 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.9051, allocations: 0 / 1.11 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9051, allocations: 0.5625 kB / 1.11 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.9052, allocations: 4.656 kB / 1.11 GB, free: 4.141 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.003219/0.9084, allocations: 1.447 MB / 1.111 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.9084, allocations: 9.469 kB / 1.111 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.9097, allocations: 227.7 kB / 1.112 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.9111, allocations: 0.7699 MB / 1.112 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/0.9112, allocations: 65.48 kB / 1.112 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.9113, allocations: 85.53 kB / 1.112 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.9131, allocations: 0.9885 MB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.9132, allocations: 5.688 kB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.862e-05/0.9133, allocations: 36.36 kB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.9133, allocations: 21.66 kB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.9154, allocations: 1.163 MB / 1.115 GB, free: 18.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.9198, allocations: 2.794 MB / 1.117 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.9215, allocations: 0.9385 MB / 1.118 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.922, allocations: 305.9 kB / 1.119 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-05/0.9221, allocations: 36.58 kB / 1.119 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008208/0.9229, allocations: 0.4973 MB / 1.119 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 2.154e-06/0.9229, allocations: 0 / 1.119 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.003198/0.9261, allocations: 1.22 MB / 1.12 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.9262, allocations: 194 kB / 1.12 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/0.9271, allocations: 0.6353 MB / 1.121 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.9272, allocations: 51.22 kB / 1.121 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.9274, allocations: 402.2 kB / 1.121 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.9276, allocations: 274.6 kB / 1.122 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.9279, allocations: 170.3 kB / 1.122 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.928, allocations: 387.6 kB / 1.122 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.9285, allocations: 271.8 kB / 1.123 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.9292, allocations: 393.2 kB / 1.123 GB, free: 16.08 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.9305, allocations: 0.6356 MB / 1.124 GB, free: 16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.9305, allocations: 0 / 1.124 GB, free: 16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00195/0.9324, allocations: 0.8852 MB / 1.124 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.9325, allocations: 5.719 kB / 1.124 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9325, allocations: 1.469 kB / 1.124 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.9331, allocations: 84.48 kB / 1.124 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.9338, allocations: 173 kB / 1.125 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.9357, allocations: 1.624 MB / 1.126 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.9366, allocations: 104.9 kB / 1.126 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/0.9367, allocations: 38.86 kB / 1.126 GB, free: 14.41 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.000475/0.9371, allocations: 274.4 kB / 1.127 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.9373, allocations: 83.09 kB / 1.127 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.9396, allocations: 1.087 MB / 1.128 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.9396, allocations: 13.59 kB / 1.128 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.9396, allocations: 0 / 1.128 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.9397, allocations: 5.688 kB / 1.128 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.9432, allocations: 2.097 MB / 1.13 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.9432, allocations: 5.094 kB / 1.13 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.9439, allocations: 151.2 kB / 1.13 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/0.9443, allocations: 76.08 kB / 1.13 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/0.9444, allocations: 24.19 kB / 1.13 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.9462, allocations: 1.656 MB / 1.132 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9462, allocations: 0 / 1.132 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.9485, allocations: 1.011 MB / 1.133 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.9489, allocations: 277.8 kB / 1.133 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.9491, allocations: 20.92 kB / 1.133 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.9497, allocations: 64.47 kB / 1.133 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.9499, allocations: 70.22 kB / 1.133 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.542e-05/0.95, allocations: 37 kB / 1.133 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006456/0.9506, allocations: 465.9 kB / 1.134 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9506, allocations: 0 / 1.134 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001033/0.9517, allocations: 320.7 kB / 1.134 GB, free: 11.73 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.001276/0.953, allocations: 0.6102 MB / 1.134 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.9547, allocations: 0.8467 MB / 1.135 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.9547, allocations: 4.688 kB / 1.135 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008696/0.9556, allocations: 0.5293 MB / 1.136 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.9568, allocations: 301.5 kB / 1.136 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.9605, allocations: 1.778 MB / 1.138 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.961, allocations: 1.03 MB / 1.139 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008682/0.9619, allocations: 273.3 kB / 1.139 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.9622, allocations: 104.2 kB / 1.139 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.9622, allocations: 1.094 kB / 1.139 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of Templates: time 0.02516/0.9874, allocations: 15.34 MB / 1.154 GB, free: 5.105 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 gbode -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