Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.373/2.373, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001132/0.001132, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.001155/0.001154, allocations: 95.69 kB / 0.9318 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.226e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3432, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.428/4.771, allocations: 1.758 GB / 2.977 GB, free: 76.57 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/4.772, allocations: 97.44 kB / 2.977 GB, free: 76.48 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.031/5.802, allocations: 106.9 MB / 3.082 GB, free: 386.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.715e-06/5.803, allocations: 0.7188 kB / 3.082 GB, free: 386.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004256/5.803, allocations: 52.66 kB / 3.082 GB, free: 386.1 MB / 1.167 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.01967/5.823, allocations: 2.471 MB / 3.084 GB, free: 384.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/5.823, allocations: 9.875 kB / 3.084 GB, free: 384.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/5.837, allocations: 349.7 kB / 3.084 GB, free: 384.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1605/5.997, allocations: 94.06 MB / 3.176 GB, free: 335.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.263e-05/5.997, allocations: 110 kB / 3.176 GB, free: 335.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003143/5.998, allocations: 139.6 kB / 3.177 GB, free: 335.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/6, allocations: 1.354 MB / 3.178 GB, free: 334.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/6, allocations: 0 / 3.178 GB, free: 334.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/6, allocations: 44 kB / 3.178 GB, free: 334.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/6, allocations: 28 kB / 3.178 GB, free: 334.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/6.002, allocations: 1.448 MB / 3.179 GB, free: 333.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1447/6.147, allocations: 79.55 MB / 3.257 GB, free: 261.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/6.148, allocations: 1.087 MB / 3.258 GB, free: 260.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/6.149, allocations: 0.6279 MB / 3.259 GB, free: 259.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.043e-05/6.149, allocations: 33.66 kB / 3.259 GB, free: 259.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000843/6.15, allocations: 0.6891 MB / 3.259 GB, free: 259.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=92): time 3.767e-06/6.15, allocations: 0 / 3.259 GB, free: 259.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=92): time 0.009398/6.16, allocations: 1.554 MB / 3.261 GB, free: 257.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/6.16, allocations: 376.5 kB / 3.261 GB, free: 257.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1921/6.352, allocations: 103.5 MB / 3.362 GB, free: 153.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007449/6.353, allocations: 61.7 kB / 3.362 GB, free: 153.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/6.354, allocations: 1.022 MB / 3.363 GB, free: 152.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/6.354, allocations: 304.2 kB / 3.364 GB, free: 152.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-05/6.354, allocations: 28 kB / 3.364 GB, free: 152.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001056/6.355, allocations: 373.8 kB / 3.364 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/6.356, allocations: 0.9639 MB / 3.365 GB, free: 150.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/6.357, allocations: 1.191 MB / 3.366 GB, free: 149.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/6.359, allocations: 1.231 MB / 3.367 GB, free: 148.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/6.359, allocations: 4 kB / 3.367 GB, free: 148.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01145/6.37, allocations: 2.725 MB / 3.37 GB, free: 145.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/6.37, allocations: 153.5 kB / 3.37 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/6.37, allocations: 7.875 kB / 3.37 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/6.37, allocations: 8 kB / 3.37 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/6.372, allocations: 288.1 kB / 3.371 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/6.372, allocations: 8 kB / 3.371 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007516/6.379, allocations: 302.1 kB / 3.371 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006173/6.38, allocations: 91.69 kB / 3.371 GB, free: 144.8 MB / 1.167 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.0004552/6.38, allocations: 319 kB / 3.371 GB, free: 144.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006967/6.387, allocations: 229.1 kB / 3.371 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/6.391, allocations: 2.049 MB / 3.373 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/6.391, allocations: 15.94 kB / 3.373 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/6.391, allocations: 3.609 kB / 3.373 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/6.391, allocations: 3.984 kB / 3.373 GB, free: 142.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06105/6.452, allocations: 38.01 MB / 3.411 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/6.452, allocations: 7.938 kB / 3.411 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/6.453, allocations: 155.1 kB / 3.411 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/6.453, allocations: 4 kB / 3.411 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/6.453, allocations: 35.97 kB / 3.411 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/6.453, allocations: 9 kB / 3.411 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/6.453, allocations: 0 / 3.411 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009308/6.462, allocations: 1.917 MB / 3.413 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04176/6.504, allocations: 20.55 MB / 3.433 GB, free: 81.43 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008444/6.512, allocations: 28 kB / 3.433 GB, free: 81.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007692/6.52, allocations: 195.8 kB / 3.433 GB, free: 81.21 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/6.52, allocations: 72.44 kB / 3.433 GB, free: 81.15 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/6.521, allocations: 75.81 kB / 3.433 GB, free: 81.08 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.08323/6.604, allocations: 76.35 MB / 3.508 GB, free: 4.699 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.11e-07/6.604, allocations: 0 / 3.508 GB, free: 4.699 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.7622/7.366, allocations: 6.077 MB / 3.514 GB, free: 382.1 MB / 1.167 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.004389/7.371, allocations: 1.207 MB / 3.515 GB, free: 382 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004941/7.376, allocations: 3.084 MB / 3.518 GB, free: 381.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/7.376, allocations: 1.156 kB / 3.518 GB, free: 381.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/7.377, allocations: 1.322 MB / 3.519 GB, free: 381.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007349/7.385, allocations: 336.9 kB / 3.519 GB, free: 381.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008598/7.393, allocations: 4.054 MB / 3.523 GB, free: 381.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/7.395, allocations: 1.787 MB / 3.525 GB, free: 380.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.02433/7.42, allocations: 11.11 MB / 3.536 GB, free: 380.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.022/7.442, allocations: 3.347 MB / 3.539 GB, free: 380.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.944e-06/7.442, allocations: 0 / 3.539 GB, free: 380.2 MB / 1.167 GB Notification: Performance of Templates: time 1.493/8.935, allocations: 0.4939 GB / 4.033 GB, free: 188.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches