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.513/1.513, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 184.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.2 MB / 0.572 GB, free: 10.58 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.001015/0.001014, allocations: 90.48 kB / 0.6764 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.679e-05, allocations: 8 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2476, allocations: 106.3 MB / 0.8918 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.673/5.921, allocations: 2.217 GB / 3.108 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/5.921, allocations: 104.7 kB / 3.109 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2419/6.163, allocations: 105.3 MB / 3.211 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.504e-06/6.163, allocations: 4 kB / 3.211 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003422/6.164, allocations: 48 kB / 3.211 GB, free: 10.18 MB / 0.8698 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.01357/6.177, allocations: 2.436 MB / 3.214 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/6.177, allocations: 12.03 kB / 3.214 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008071/6.185, allocations: 344.4 kB / 3.214 GB, free: 7.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.751/6.936, allocations: 94.05 MB / 3.306 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/6.937, allocations: 98.06 kB / 3.306 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004155/6.937, allocations: 135.1 kB / 3.306 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/6.94, allocations: 1.334 MB / 3.307 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/6.94, allocations: 0 / 3.307 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/6.94, allocations: 44 kB / 3.308 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/6.94, allocations: 28 kB / 3.308 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/6.942, allocations: 1.429 MB / 3.309 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1478/7.09, allocations: 79.36 MB / 3.386 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/7.092, allocations: 1.084 MB / 3.388 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006651/7.092, allocations: 0.6261 MB / 3.388 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/7.092, allocations: 40.38 kB / 3.388 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008746/7.093, allocations: 0.6892 MB / 3.389 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=92): time 4.178e-06/7.093, allocations: 0 / 3.389 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92): time 0.009085/7.102, allocations: 1.557 MB / 3.39 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/7.103, allocations: 369.9 kB / 3.391 GB, free: 157 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1928/7.295, allocations: 103.5 MB / 3.492 GB, free: 60.92 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005605/7.296, allocations: 65.17 kB / 3.492 GB, free: 60.85 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/7.297, allocations: 1.048 MB / 3.493 GB, free: 59.86 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003751/7.298, allocations: 309.3 kB / 3.493 GB, free: 59.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/7.298, allocations: 28 kB / 3.493 GB, free: 59.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001452/7.298, allocations: 369.9 kB / 3.494 GB, free: 59.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/7.299, allocations: 0.9639 MB / 3.494 GB, free: 58.24 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/7.3, allocations: 1.187 MB / 3.496 GB, free: 56.99 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/7.302, allocations: 1.237 MB / 3.497 GB, free: 55.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/7.302, allocations: 0 / 3.497 GB, free: 55.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01186/7.314, allocations: 2.726 MB / 3.5 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/7.314, allocations: 149.6 kB / 3.5 GB, free: 52.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/7.314, allocations: 4 kB / 3.5 GB, free: 52.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.223e-05/7.314, allocations: 8 kB / 3.5 GB, free: 52.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/7.315, allocations: 297.2 kB / 3.5 GB, free: 52.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/7.315, allocations: 15.33 kB / 3.5 GB, free: 52.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007302/7.322, allocations: 289.4 kB / 3.5 GB, free: 52.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004284/7.323, allocations: 95.17 kB / 3.5 GB, free: 52.26 MB / 0.8698 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.0004634/7.323, allocations: 320.5 kB / 3.501 GB, free: 51.95 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007739/7.331, allocations: 229.1 kB / 3.501 GB, free: 51.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/7.335, allocations: 2.045 MB / 3.503 GB, free: 49.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/7.335, allocations: 8 kB / 3.503 GB, free: 49.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/7.335, allocations: 0 / 3.503 GB, free: 49.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/7.335, allocations: 12.47 kB / 3.503 GB, free: 49.69 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.058/7.393, allocations: 38.01 MB / 3.54 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/7.393, allocations: 0 / 3.54 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/7.394, allocations: 160.9 kB / 3.54 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/7.394, allocations: 4 kB / 3.54 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/7.394, allocations: 35.94 kB / 3.54 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/7.394, allocations: 9.953 kB / 3.54 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/7.394, allocations: 0 / 3.54 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008914/7.403, allocations: 1.908 MB / 3.542 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6736/8.077, allocations: 20.54 MB / 3.562 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00872/8.086, allocations: 27.36 kB / 3.562 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009043/8.095, allocations: 193 kB / 3.562 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006297/8.095, allocations: 67.58 kB / 3.562 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002986/8.096, allocations: 75.69 kB / 3.562 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.1064/8.202, allocations: 76.34 MB / 3.637 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.92e-07/8.202, allocations: 0 / 3.637 GB, free: 225.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01465/8.217, allocations: 6.058 MB / 3.643 GB, free: 219.5 MB / 0.8698 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.004051/8.221, allocations: 1.174 MB / 3.644 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003655/8.224, allocations: 3.088 MB / 3.647 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/8.224, allocations: 0 / 3.647 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/8.226, allocations: 1.318 MB / 3.648 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00747/8.233, allocations: 336.9 kB / 3.649 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006922/8.24, allocations: 4.011 MB / 3.653 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/8.241, allocations: 1.775 MB / 3.654 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01456/8.256, allocations: 11.11 MB / 3.665 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01863/8.275, allocations: 3.345 MB / 3.668 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.634e-06/8.275, allocations: 0 / 3.668 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of Templates: time 1.302/9.576, allocations: 0.4935 GB / 4.162 GB, free: 18.37 MB / 0.8698 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