Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 175 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 0.5775 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009023/0.0009027, allocations: 86.56 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004398, allocations: 12.19 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2617, allocations: 106.3 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.358/5.62, allocations: 2.217 GB / 3.117 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/5.62, allocations: 95.95 kB / 3.117 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6901/6.31, allocations: 105.6 MB / 3.22 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.395e-06/6.31, allocations: 0 / 3.22 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002663/6.31, allocations: 48 kB / 3.22 GB, free: 264.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.06666/6.377, allocations: 23.38 MB / 3.243 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/6.377, allocations: 8.031 kB / 3.243 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007294/6.384, allocations: 344.5 kB / 3.243 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.105/6.489, allocations: 94.46 MB / 3.335 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/6.49, allocations: 98.06 kB / 3.336 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/6.49, allocations: 140 kB / 3.336 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/6.492, allocations: 1.36 MB / 3.337 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/6.493, allocations: 0 / 3.337 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/6.493, allocations: 44 kB / 3.337 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/6.493, allocations: 24 kB / 3.337 GB, free: 144.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/6.494, allocations: 1.483 MB / 3.339 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.144/6.639, allocations: 79.37 MB / 3.416 GB, free: 63.31 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/6.641, allocations: 1.129 MB / 3.417 GB, free: 62.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-05/6.641, allocations: 32.67 kB / 3.417 GB, free: 62.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/6.642, allocations: 0.7091 MB / 3.418 GB, free: 61.42 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=92): time 3.827e-06/6.642, allocations: 0 / 3.418 GB, free: 61.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=92): time 0.009489/6.651, allocations: 2.23 MB / 3.42 GB, free: 59.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/6.651, allocations: 377.6 kB / 3.42 GB, free: 58.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6417/7.293, allocations: 103.9 MB / 3.522 GB, free: 289.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005375/7.294, allocations: 56.45 kB / 3.522 GB, free: 289 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/7.295, allocations: 1.052 MB / 3.523 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/7.295, allocations: 312 kB / 3.523 GB, free: 288.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/7.296, allocations: 27.41 kB / 3.523 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001163/7.296, allocations: 366.9 kB / 3.524 GB, free: 287.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/7.297, allocations: 0.9919 MB / 3.525 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/7.298, allocations: 1.214 MB / 3.526 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/7.3, allocations: 1.26 MB / 3.527 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/7.3, allocations: 0 / 3.527 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01082/7.311, allocations: 2.776 MB / 3.53 GB, free: 282.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/7.311, allocations: 152.9 kB / 3.53 GB, free: 282 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/7.311, allocations: 4 kB / 3.53 GB, free: 282 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/7.311, allocations: 9.375 kB / 3.53 GB, free: 282 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/7.312, allocations: 293 kB / 3.53 GB, free: 281.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/7.312, allocations: 11.7 kB / 3.53 GB, free: 281.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007264/7.319, allocations: 290.3 kB / 3.53 GB, free: 281.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/7.32, allocations: 101.6 kB / 3.531 GB, free: 281.5 MB / 0.8855 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 () * Number of clocked 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.001862/7.322, allocations: 1.006 MB / 3.532 GB, free: 280.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006635/7.328, allocations: 233.1 kB / 3.532 GB, free: 280.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/7.332, allocations: 2.089 MB / 3.534 GB, free: 278.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/7.332, allocations: 8.609 kB / 3.534 GB, free: 278.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/7.332, allocations: 0 / 3.534 GB, free: 278.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/7.332, allocations: 3.469 kB / 3.534 GB, free: 278.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0662/7.399, allocations: 38.06 MB / 3.571 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/7.399, allocations: 0 / 3.571 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/7.399, allocations: 154.2 kB / 3.571 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/7.399, allocations: 9.766 kB / 3.571 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/7.399, allocations: 36.14 kB / 3.571 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/7.4, allocations: 4 kB / 3.571 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/7.4, allocations: 0 / 3.571 GB, free: 250.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009407/7.409, allocations: 1.969 MB / 3.573 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05836/7.467, allocations: 20.53 MB / 3.593 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008232/7.476, allocations: 30.72 kB / 3.593 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006686/7.482, allocations: 193.8 kB / 3.593 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/7.483, allocations: 63.44 kB / 3.593 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/7.483, allocations: 73.47 kB / 3.593 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.07912/7.562, allocations: 76.75 MB / 3.668 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.32e-07/7.562, allocations: 6.312 kB / 3.668 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.013/7.575, allocations: 6.057 MB / 3.674 GB, free: 150 MB / 0.8855 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) * Number of clocked states: 0 () * 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.0037/7.579, allocations: 1.19 MB / 3.676 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00395/7.583, allocations: 3.14 MB / 3.679 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/7.583, allocations: 4 kB / 3.679 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/7.584, allocations: 1.335 MB / 3.68 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007377/7.592, allocations: 334.8 kB / 3.68 GB, free: 144.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00697/7.599, allocations: 5.53 MB / 3.686 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/7.6, allocations: 1.789 MB / 3.687 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01399/7.614, allocations: 11.1 MB / 3.698 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01768/7.631, allocations: 3.351 MB / 3.701 GB, free: 123 MB / 0.8855 GB Notification: Performance of SimCode: time 1.814e-06/7.631, allocations: 0 / 3.701 GB, free: 123 MB / 0.8855 GB Notification: Performance of Templates: time 1.543/9.174, allocations: 0.4926 GB / 4.194 GB, free: 103 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches