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.001197/0.001197, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001241/0.001241, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.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.292/2.292, allocations: 390.3 MB / 0.6653 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.000375, allocations: 12 kB / 0.8145 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.603/0.6034, allocations: 142.3 MB / 0.9535 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00343/0.6068, allocations: 3.716 MB / 0.9571 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.138/0.7448, allocations: 127.6 MB / 1.082 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008606/0.7457, allocations: 15.94 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.7462, allocations: 83.25 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.7481, allocations: 0.4939 MB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.75, allocations: 0.6392 MB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.7517, allocations: 0.8371 MB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007437/0.7525, allocations: 487.4 kB / 1.084 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.753, allocations: 358.5 kB / 1.085 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.7534, allocations: 346.2 kB / 1.085 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.18e-05/0.7535, allocations: 28 kB / 1.085 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007478/0.7543, allocations: 307.6 kB / 1.085 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.7545, allocations: 183.2 kB / 1.085 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.7546, allocations: 201.1 kB / 1.086 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.7558, allocations: 1.165 MB / 1.087 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7558, allocations: 0 / 1.087 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7559, allocations: 0 / 1.087 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.7559, allocations: 0 / 1.087 GB, free: 7.371 MB / 0.8419 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.002353/0.7582, allocations: 1.248 MB / 1.088 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.7583, allocations: 12.02 kB / 1.088 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.7595, allocations: 258.3 kB / 1.088 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.7608, allocations: 0.7263 MB / 1.089 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.7608, allocations: 69.94 kB / 1.089 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.761, allocations: 84 kB / 1.089 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.7627, allocations: 0.9755 MB / 1.09 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.7627, allocations: 4 kB / 1.09 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.82e-05/0.7628, allocations: 39.95 kB / 1.09 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.7629, allocations: 20 kB / 1.09 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.7648, allocations: 1.171 MB / 1.091 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/0.7692, allocations: 2.852 MB / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.771, allocations: 0.9583 MB / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.972e-05/0.7711, allocations: 28.52 kB / 1.095 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008393/0.7719, allocations: 0.5003 MB / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=83): time 2.244e-06/0.7719, allocations: 0 / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=83): time 0.003089/0.775, allocations: 1.23 MB / 1.097 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.747e-05/0.7752, allocations: 196.9 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.7759, allocations: 0.6292 MB / 1.097 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/0.776, allocations: 41.7 kB / 1.097 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.7763, allocations: 416.3 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.7765, allocations: 268.1 kB / 1.098 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.7766, allocations: 16 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7768, allocations: 382.8 kB / 1.098 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.7772, allocations: 253.9 kB / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.7778, allocations: 385.1 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.7784, allocations: 298.9 kB / 1.099 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7784, allocations: 0 / 1.099 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00175/0.7801, allocations: 0.837 MB / 1.1 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.7802, allocations: 9.047 kB / 1.1 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.7802, allocations: 7.984 kB / 1.1 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.7808, allocations: 80.91 kB / 1.1 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.7814, allocations: 163.7 kB / 1.1 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.7837, allocations: 1.529 MB / 1.102 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.7845, allocations: 99.33 kB / 1.102 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.7845, allocations: 36.03 kB / 1.102 GB, free: 7.059 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004913/0.785, allocations: 267.7 kB / 1.102 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.7852, allocations: 90.92 kB / 1.102 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.7875, allocations: 1.105 MB / 1.103 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.7876, allocations: 12 kB / 1.104 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.7876, allocations: 0 / 1.104 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.7876, allocations: 3.984 kB / 1.104 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.791, allocations: 2.11 MB / 1.106 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7911, allocations: 0 / 1.106 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/0.7916, allocations: 155.8 kB / 1.106 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/0.7921, allocations: 88.72 kB / 1.106 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/0.7922, allocations: 23.98 kB / 1.106 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.794, allocations: 1.552 MB / 1.107 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.794, allocations: 4.031 kB / 1.107 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.7959, allocations: 1.015 MB / 1.108 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.7963, allocations: 295.6 kB / 1.109 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.7964, allocations: 16.06 kB / 1.109 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/0.7971, allocations: 91.42 kB / 1.109 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.7973, allocations: 76.89 kB / 1.109 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/0.7973, allocations: 35.92 kB / 1.109 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005504/0.7979, allocations: 455 kB / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7979, allocations: 0 / 1.109 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008742/0.7988, allocations: 311.2 kB / 1.11 GB, free: 15.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.8, allocations: 0.6076 MB / 1.11 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.8016, allocations: 0.8237 MB / 1.111 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8016, allocations: 3.938 kB / 1.111 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008527/0.8025, allocations: 0.5197 MB / 1.111 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.8036, allocations: 262.5 kB / 1.112 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.8075, allocations: 2.205 MB / 1.114 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.8081, allocations: 1.057 MB / 1.115 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000896/0.809, allocations: 266.9 kB / 1.115 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.8093, allocations: 119.3 kB / 1.115 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.8093, allocations: 0 / 1.115 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of Templates: time 0.02437/0.8337, allocations: 14.15 MB / 1.129 GB, free: 11.36 MB / 0.8887 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 -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","../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches