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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 176.8 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.758/1.758, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 93.56 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.117e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3595, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.324/5.684, allocations: 1.73 GB / 2.936 GB, free: 138.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/5.684, allocations: 85.58 kB / 2.936 GB, free: 138.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1208/5.805, allocations: 57.4 MB / 2.992 GB, free: 87.57 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.403e-06/5.805, allocations: 0 / 2.992 GB, free: 87.57 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.42e-05/5.805, allocations: 24 kB / 2.992 GB, free: 87.54 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00191/5.807, allocations: 1.088 MB / 2.993 GB, free: 86.41 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/5.807, allocations: 8.031 kB / 2.993 GB, free: 86.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/5.808, allocations: 250.5 kB / 2.993 GB, free: 86.15 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/5.809, allocations: 0.6153 MB / 2.994 GB, free: 85.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/5.809, allocations: 24 kB / 2.994 GB, free: 85.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/5.809, allocations: 48 kB / 2.994 GB, free: 85.43 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00127/5.811, allocations: 1.003 MB / 2.995 GB, free: 84.43 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/5.812, allocations: 0.7534 MB / 2.996 GB, free: 83.62 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/5.812, allocations: 3.984 kB / 2.996 GB, free: 83.62 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/5.812, allocations: 7.953 kB / 2.996 GB, free: 83.61 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/5.812, allocations: 20 kB / 2.996 GB, free: 83.59 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/5.815, allocations: 2.56 MB / 2.998 GB, free: 80.96 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/5.816, allocations: 0.7523 MB / 2.999 GB, free: 80.18 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/5.817, allocations: 247.5 kB / 2.999 GB, free: 79.94 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.215e-05/5.817, allocations: 32.81 kB / 2.999 GB, free: 79.91 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005357/5.817, allocations: 399.6 kB / 3 GB, free: 79.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=74): time 3.065e-06/5.817, allocations: 0 / 3 GB, free: 79.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=74): time 0.001438/5.819, allocations: 0.6485 MB / 3 GB, free: 78.84 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/5.819, allocations: 244 kB / 3 GB, free: 78.54 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006969/5.82, allocations: 0.4906 MB / 3.001 GB, free: 78.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/5.82, allocations: 37.69 kB / 3.001 GB, free: 78 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/5.82, allocations: 388.1 kB / 3.001 GB, free: 77.62 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/5.82, allocations: 236.4 kB / 3.002 GB, free: 77.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/5.82, allocations: 4 kB / 3.002 GB, free: 77.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/5.82, allocations: 374.8 kB / 3.002 GB, free: 77 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/5.821, allocations: 185.5 kB / 3.002 GB, free: 76.82 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/5.821, allocations: 306.1 kB / 3.002 GB, free: 76.48 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/5.821, allocations: 248.4 kB / 3.003 GB, free: 76.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/5.821, allocations: 0 / 3.003 GB, free: 76.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00131/5.823, allocations: 0.6564 MB / 3.003 GB, free: 75.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/5.823, allocations: 8 kB / 3.003 GB, free: 75.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/5.823, allocations: 3.984 kB / 3.003 GB, free: 75.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/5.823, allocations: 80.94 kB / 3.003 GB, free: 75.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/5.824, allocations: 147.8 kB / 3.003 GB, free: 75.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/5.825, allocations: 1.458 MB / 3.005 GB, free: 73.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/5.826, allocations: 67.59 kB / 3.005 GB, free: 73.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/5.826, allocations: 27.97 kB / 3.005 GB, free: 73.66 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001467/5.826, allocations: 124.8 kB / 3.005 GB, free: 73.53 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/5.826, allocations: 75.06 kB / 3.005 GB, free: 73.45 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/5.828, allocations: 0.8916 MB / 3.006 GB, free: 72.55 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/5.828, allocations: 15.94 kB / 3.006 GB, free: 72.53 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/5.828, allocations: 3.953 kB / 3.006 GB, free: 72.53 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/5.828, allocations: 7.969 kB / 3.006 GB, free: 72.52 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/5.831, allocations: 1.749 MB / 3.008 GB, free: 70.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/5.831, allocations: 3.984 kB / 3.008 GB, free: 70.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/5.831, allocations: 147.8 kB / 3.008 GB, free: 70.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/5.832, allocations: 80.78 kB / 3.008 GB, free: 70.48 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/5.832, allocations: 11.98 kB / 3.008 GB, free: 70.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/5.833, allocations: 1.484 MB / 3.009 GB, free: 68.86 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/5.833, allocations: 0 / 3.009 GB, free: 68.86 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/5.834, allocations: 0.8299 MB / 3.01 GB, free: 68.02 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/5.835, allocations: 271.8 kB / 3.011 GB, free: 67.73 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/5.835, allocations: 3.984 kB / 3.011 GB, free: 67.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/5.835, allocations: 51.95 kB / 3.011 GB, free: 67.68 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/5.836, allocations: 56.69 kB / 3.011 GB, free: 67.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/5.836, allocations: 31.98 kB / 3.011 GB, free: 67.59 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004262/5.836, allocations: 406.9 kB / 3.011 GB, free: 67.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.836, allocations: 0 / 3.011 GB, free: 67.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001189/5.837, allocations: 342.9 kB / 3.011 GB, free: 66.86 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002298/5.84, allocations: 1.078 MB / 3.012 GB, free: 65.89 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001154/5.841, allocations: 0.6592 MB / 3.013 GB, free: 65.22 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/5.841, allocations: 4 kB / 3.013 GB, free: 65.21 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/5.841, allocations: 440.6 kB / 3.013 GB, free: 64.78 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/5.843, allocations: 233.1 kB / 3.014 GB, free: 64.56 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/5.846, allocations: 1.297 MB / 3.015 GB, free: 63.23 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/5.847, allocations: 1.019 MB / 3.016 GB, free: 62.19 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009099/5.847, allocations: 257.8 kB / 3.016 GB, free: 61.93 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/5.848, allocations: 95.39 kB / 3.016 GB, free: 61.84 MB / 1.151 GB Notification: Performance of SimCode: time 8.61e-07/5.848, allocations: 4 kB / 3.016 GB, free: 61.84 MB / 1.151 GB Notification: Performance of Templates: time 0.0238/5.872, allocations: 15.9 MB / 3.032 GB, free: 46.05 MB / 1.151 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