Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001012/0.001012, allocations: 180.9 kB / 492.3 MB, free: 0.6211 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.704/1.704, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 105.1 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.461e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.544/4.877, allocations: 1.758 GB / 2.97 GB, free: 106.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/4.877, allocations: 87.95 kB / 2.97 GB, free: 106.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.9003/5.778, allocations: 106.9 MB / 3.074 GB, free: 368.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.216e-06/5.778, allocations: 4.375 kB / 3.074 GB, free: 368.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004325/5.778, allocations: 45.97 kB / 3.075 GB, free: 368.6 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.01951/5.798, allocations: 2.467 MB / 3.077 GB, free: 368 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/5.798, allocations: 9.844 kB / 3.077 GB, free: 368 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/5.811, allocations: 345.7 kB / 3.077 GB, free: 367.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.16/5.971, allocations: 94.07 MB / 3.169 GB, free: 333.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.676e-05/5.971, allocations: 102.1 kB / 3.169 GB, free: 333.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/5.971, allocations: 142.4 kB / 3.169 GB, free: 333.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/5.973, allocations: 1.352 MB / 3.171 GB, free: 332.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/5.973, allocations: 3.75 kB / 3.171 GB, free: 332.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/5.973, allocations: 50.95 kB / 3.171 GB, free: 332 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/5.973, allocations: 24 kB / 3.171 GB, free: 332 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/5.975, allocations: 1.448 MB / 3.172 GB, free: 330.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1465/6.122, allocations: 79.54 MB / 3.25 GB, free: 266.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/6.124, allocations: 1.081 MB / 3.251 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006796/6.124, allocations: 0.6298 MB / 3.252 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/6.124, allocations: 31.44 kB / 3.252 GB, free: 264.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008735/6.125, allocations: 0.6885 MB / 3.252 GB, free: 264.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=92): time 3.447e-06/6.125, allocations: 0 / 3.252 GB, free: 264.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=92): time 0.008814/6.134, allocations: 1.551 MB / 3.254 GB, free: 262.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/6.134, allocations: 379.5 kB / 3.254 GB, free: 262.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1849/6.319, allocations: 103.5 MB / 3.355 GB, free: 164.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005468/6.32, allocations: 67.44 kB / 3.355 GB, free: 164.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/6.321, allocations: 1.02 MB / 3.356 GB, free: 163.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000352/6.321, allocations: 304.6 kB / 3.357 GB, free: 163.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/6.321, allocations: 32 kB / 3.357 GB, free: 163.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001024/6.322, allocations: 368.1 kB / 3.357 GB, free: 162.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/6.323, allocations: 0.9639 MB / 3.358 GB, free: 161.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/6.324, allocations: 1.193 MB / 3.359 GB, free: 160.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/6.325, allocations: 1.233 MB / 3.36 GB, free: 159.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/6.325, allocations: 0 / 3.36 GB, free: 159.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01036/6.336, allocations: 2.729 MB / 3.363 GB, free: 156.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/6.336, allocations: 153.6 kB / 3.363 GB, free: 156.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/6.336, allocations: 4 kB / 3.363 GB, free: 156.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/6.336, allocations: 8 kB / 3.363 GB, free: 156.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/6.337, allocations: 287.2 kB / 3.363 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/6.337, allocations: 11.98 kB / 3.363 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006874/6.344, allocations: 298.1 kB / 3.364 GB, free: 156 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004525/6.345, allocations: 91.78 kB / 3.364 GB, free: 155.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (165): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004012/6.345, allocations: 324.6 kB / 3.364 GB, free: 155.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006588/6.352, allocations: 229.1 kB / 3.364 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/6.355, allocations: 2.048 MB / 3.366 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/6.355, allocations: 8 kB / 3.366 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/6.355, allocations: 0 / 3.366 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/6.355, allocations: 3.984 kB / 3.366 GB, free: 153.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05533/6.411, allocations: 38.03 MB / 3.403 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/6.411, allocations: 0 / 3.403 GB, free: 115.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/6.411, allocations: 155.6 kB / 3.404 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/6.411, allocations: 4 kB / 3.404 GB, free: 115.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/6.411, allocations: 35.97 kB / 3.404 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/6.411, allocations: 4 kB / 3.404 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/6.411, allocations: 0 / 3.404 GB, free: 115 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008345/6.42, allocations: 1.916 MB / 3.405 GB, free: 113.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03342/6.453, allocations: 20.54 MB / 3.426 GB, free: 92.53 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008909/6.462, allocations: 26.06 kB / 3.426 GB, free: 92.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007323/6.47, allocations: 194.4 kB / 3.426 GB, free: 92.32 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004209/6.47, allocations: 76.41 kB / 3.426 GB, free: 92.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002845/6.47, allocations: 75.52 kB / 3.426 GB, free: 92.18 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.08392/6.554, allocations: 76.34 MB / 3.5 GB, free: 15.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.01e-07/6.554, allocations: 0 / 3.5 GB, free: 15.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01311/6.567, allocations: 6.091 MB / 3.506 GB, free: 9.727 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00467/6.572, allocations: 1.21 MB / 3.508 GB, free: 8.895 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003441/6.576, allocations: 3.089 MB / 3.511 GB, free: 5.812 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/6.576, allocations: 4 kB / 3.511 GB, free: 5.809 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/6.577, allocations: 1.317 MB / 3.512 GB, free: 4.496 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007614/6.584, allocations: 345.3 kB / 3.512 GB, free: 4.18 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007878/6.592, allocations: 4.059 MB / 3.516 GB, free: 104 kB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6512/7.244, allocations: 1.78 MB / 3.518 GB, free: 362.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01951/7.263, allocations: 11.12 MB / 3.529 GB, free: 362.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02054/7.284, allocations: 3.347 MB / 3.532 GB, free: 362.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.683e-06/7.284, allocations: 0 / 3.532 GB, free: 362.5 MB / 1.151 GB Notification: Performance of Templates: time 1.583/8.867, allocations: 0.4939 GB / 4.026 GB, free: 174.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches