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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007534/0.0007533, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005683/0.005683, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.808/2.808, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 11.09 kB / 0.9027 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3652, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007589/0.3728, allocations: 6.507 MB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5523, allocations: 151.1 MB / 1.213 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.554, allocations: 19.88 kB / 1.213 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005117/0.5591, allocations: 1.655 MB / 1.214 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.5626, allocations: 0.7856 MB / 1.215 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.5653, allocations: 0.8883 MB / 1.216 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.5697, allocations: 3.582 MB / 1.219 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.5711, allocations: 0.8789 MB / 1.22 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.5731, allocations: 0.9378 MB / 1.221 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.5747, allocations: 0.879 MB / 1.222 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.5749, allocations: 52 kB / 1.222 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.5786, allocations: 1.97 MB / 1.224 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.5797, allocations: 1.189 MB / 1.225 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.5807, allocations: 0.8559 MB / 1.226 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005934/0.5866, allocations: 3.77 MB / 1.23 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.5867, allocations: 0 / 1.23 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5867, allocations: 0 / 1.23 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.503e-05/0.5867, allocations: 0 / 1.23 GB, free: 5.176 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.004393/0.5911, allocations: 2.208 MB / 1.232 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5912, allocations: 15.97 kB / 1.232 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008195/0.592, allocations: 274.2 kB / 1.232 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.5954, allocations: 3.001 MB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.542e-05/0.5955, allocations: 110.4 kB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.5957, allocations: 152 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.5981, allocations: 1.542 MB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.5981, allocations: 3.938 kB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.5983, allocations: 52 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.5983, allocations: 32 kB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.6006, allocations: 1.613 MB / 1.238 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008462/0.6091, allocations: 5.864 MB / 1.244 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.6113, allocations: 1.441 MB / 1.246 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.6124, allocations: 0.8902 MB / 1.246 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.14e-05/0.6125, allocations: 37.17 kB / 1.246 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/0.6138, allocations: 0.9576 MB / 1.247 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.976e-06/0.6138, allocations: 3.828 kB / 1.247 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.6455/1.259, allocations: 2.678 MB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003697/1.26, allocations: 335 kB / 1.25 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007239/1.267, allocations: 4.378 MB / 1.255 GB, free: 188 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005048/1.268, allocations: 55.27 kB / 1.255 GB, free: 188 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/1.268, allocations: 0.697 MB / 1.255 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/1.269, allocations: 351.8 kB / 1.256 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007331/1.269, allocations: 0.8528 MB / 1.256 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/1.269, allocations: 304.8 kB / 1.257 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008333/1.278, allocations: 7.044 MB / 1.264 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009865/1.288, allocations: 7.312 MB / 1.271 GB, free: 187 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/1.299, allocations: 9.003 MB / 1.28 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-05/1.299, allocations: 0 / 1.28 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01529/1.314, allocations: 15.87 MB / 1.295 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/1.314, allocations: 152.8 kB / 1.295 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.314, allocations: 2.859 kB / 1.295 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.956e-05/1.314, allocations: 11.56 kB / 1.295 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.316, allocations: 321.7 kB / 1.296 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-05/1.316, allocations: 8 kB / 1.296 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/1.317, allocations: 207.4 kB / 1.296 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/1.317, allocations: 83.45 kB / 1.296 GB, free: 171.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001273/1.319, allocations: 0.8403 MB / 1.297 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/1.319, allocations: 154.7 kB / 1.297 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/1.323, allocations: 2.386 MB / 1.299 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/1.323, allocations: 8 kB / 1.299 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.323, allocations: 0 / 1.299 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/1.323, allocations: 9.016 kB / 1.299 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/1.325, allocations: 1.348 MB / 1.3 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.325, allocations: 5.938 kB / 1.3 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/1.326, allocations: 166 kB / 1.301 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/1.326, allocations: 4 kB / 1.301 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.617e-05/1.326, allocations: 36.48 kB / 1.301 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/1.326, allocations: 4.656 kB / 1.301 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.326, allocations: 7.672 kB / 1.301 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/1.329, allocations: 2.245 MB / 1.303 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/1.33, allocations: 450.8 kB / 1.303 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/1.33, allocations: 28.69 kB / 1.303 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009821/1.331, allocations: 94.44 kB / 1.303 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/1.331, allocations: 86.86 kB / 1.304 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.331, allocations: 56.19 kB / 1.304 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002736/1.334, allocations: 2.796 MB / 1.306 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.334, allocations: 0 / 1.306 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002751/1.337, allocations: 1.079 MB / 1.307 GB, free: 161.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003151/1.34, allocations: 0.9551 MB / 1.308 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009668/1.35, allocations: 10.7 MB / 1.319 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.35, allocations: 4 kB / 1.319 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.351, allocations: 1.533 MB / 1.32 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.353, allocations: 322.5 kB / 1.321 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009019/1.362, allocations: 6.499 MB / 1.327 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/1.364, allocations: 1.786 MB / 1.329 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001588/1.366, allocations: 395.2 kB / 1.329 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/1.366, allocations: 147.4 kB / 1.329 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.833e-06/1.366, allocations: 4 kB / 1.329 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04625/1.413, allocations: 30.25 MB / 1.359 GB, free: 110.4 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches