Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 76.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 176.9 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9761/0.9761, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.526/2.526, allocations: 438.8 MB / 0.6826 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.[0-9,]+..Q_flow|irRadGai.conExtWin.[0-9,]+..Q_flow|irRadGai.conExtWinFra.[0-9,]+..Q_flow|irRadGai.conPar_a.[0-9,]+..Q_flow|irRadGai.conPar_b.[0-9,]+..Q_flow|irRadGai.conBou.[0-9,]+..Q_flow|irRadGai.conSurBou.[0-9,]+..Q_flow|irRadGai.JOutConExtWin.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.[0-9,]+..Q_flow|irRadGai.conExtWin.[0-9,]+..Q_flow|irRadGai.conExtWinFra.[0-9,]+..Q_flow|irRadGai.conPar_a.[0-9,]+..Q_flow|irRadGai.conPar_b.[0-9,]+..Q_flow|irRadGai.conBou.[0-9,]+..Q_flow|irRadGai.conSurBou.[0-9,]+..Q_flow|irRadGai.JOutConExtWin.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8387 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/1.151e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005709/0.00572, allocations: 7.174 MB / 0.8457 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005536/0.01126, allocations: 5.23 MB / 0.8508 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004965/0.01175, allocations: 71.44 kB / 0.8509 GB, free: 1.496 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002666/0.01442, allocations: 1.667 MB / 0.8525 GB, free: 15.82 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007957/0.01521, allocations: 0.659 MB / 0.8532 GB, free: 15.16 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.01561, allocations: 220 kB / 0.8534 GB, free: 14.94 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.01708, allocations: 1.834 MB / 0.8552 GB, free: 13.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.01748, allocations: 244.6 kB / 0.8554 GB, free: 12.84 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.01856, allocations: 1.005 MB / 0.8564 GB, free: 11.83 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006824/0.01924, allocations: 0.6778 MB / 0.857 GB, free: 11.15 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.01937, allocations: 80 kB / 0.8571 GB, free: 11.07 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.01975, allocations: 207.8 kB / 0.8573 GB, free: 10.87 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.01999, allocations: 346.4 kB / 0.8577 GB, free: 10.53 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.02033, allocations: 446.7 kB / 0.8581 GB, free: 10.09 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.02155, allocations: 1.654 MB / 0.8597 GB, free: 8.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.02155, allocations: 0 / 0.8597 GB, free: 8.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.082e-06/0.02155, allocations: 0 / 0.8597 GB, free: 8.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.02157, allocations: 0 / 0.8597 GB, free: 8.43 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001775/0.02335, allocations: 2.093 MB / 0.8617 GB, free: 6.289 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.02338, allocations: 8.922 kB / 0.8617 GB, free: 6.281 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.02356, allocations: 136.8 kB / 0.8619 GB, free: 6.148 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.0248, allocations: 1.165 MB / 0.863 GB, free: 4.918 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.02482, allocations: 29.36 kB / 0.863 GB, free: 4.891 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.02485, allocations: 40.12 kB / 0.8631 GB, free: 4.852 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.02513, allocations: 270.9 kB / 0.8633 GB, free: 4.574 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.02514, allocations: 0 / 0.8633 GB, free: 4.574 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.02516, allocations: 19.98 kB / 0.8634 GB, free: 4.555 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.0252, allocations: 20.98 kB / 0.8634 GB, free: 4.535 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.02534, allocations: 110.9 kB / 0.8635 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.02662, allocations: 0.9508 MB / 0.8644 GB, free: 3.453 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.02688, allocations: 206.6 kB / 0.8646 GB, free: 3.242 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.02694, allocations: 52.75 kB / 0.8647 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.02695, allocations: 8 kB / 0.8647 GB, free: 3.18 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.02697, allocations: 34.56 kB / 0.8647 GB, free: 3.137 MB / 0.823 GB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.02697, allocations: 0 / 0.8647 GB, free: 3.137 MB / 0.823 GB Notification: Performance of matching and sorting (n=24): time 0.0002505/0.02722, allocations: 205.8 kB / 0.8649 GB, free: 2.93 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.02726, allocations: 55.41 kB / 0.865 GB, free: 2.863 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.0283, allocations: 1.421 MB / 0.8663 GB, free: 1.41 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.02832, allocations: 29.7 kB / 0.8664 GB, free: 1.375 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.02856, allocations: 438.1 kB / 0.8668 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.0286, allocations: 87.23 kB / 0.8669 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.02867, allocations: 65.64 kB / 0.8669 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.02874, allocations: 325.9 kB / 0.8672 GB, free: 464 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.02879, allocations: 38.75 kB / 0.8673 GB, free: 424 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-05/0.02888, allocations: 144.8 kB / 0.8674 GB, free: 232 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.02909, allocations: 179.2 kB / 0.8676 GB, free: 16 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.02909, allocations: 0 / 0.8676 GB, free: 16 kB / 0.823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002543/0.02935, allocations: 256 kB / 0.8678 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.02936, allocations: 8 kB / 0.8678 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.02937, allocations: 4.344 kB / 0.8678 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.02938, allocations: 8 kB / 0.8679 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.02956, allocations: 75.89 kB / 0.8679 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.02957, allocations: 4 kB / 0.8679 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.02978, allocations: 39.72 kB / 0.868 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.0298, allocations: 12 kB / 0.868 GB, free: 15.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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.0001577/0.02996, allocations: 132.5 kB / 0.8681 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.03005, allocations: 103.9 kB / 0.8682 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.0302, allocations: 162.2 kB / 0.8684 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.03021, allocations: 4 kB / 0.8684 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.03021, allocations: 0 / 0.8684 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.03021, allocations: 3.984 kB / 0.8684 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.03087, allocations: 0.7329 MB / 0.8691 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.03088, allocations: 0 / 0.8691 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.031, allocations: 55.95 kB / 0.8691 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.031, allocations: 0 / 0.8691 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.03101, allocations: 4 kB / 0.8691 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.03101, allocations: 8.031 kB / 0.8691 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03101, allocations: 0 / 0.8691 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.03123, allocations: 363.9 kB / 0.8695 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.03145, allocations: 202.6 kB / 0.8697 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.03153, allocations: 7.984 kB / 0.8697 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.03171, allocations: 8 kB / 0.8697 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.03173, allocations: 11.97 kB / 0.8697 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.03174, allocations: 4 kB / 0.8697 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006299/0.03237, allocations: 0.7761 MB / 0.8705 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.03237, allocations: 0 / 0.8705 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003717/0.03275, allocations: 227.7 kB / 0.8707 GB, free: 12.74 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000255/0.033, allocations: 161.1 kB / 0.8708 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.0333, allocations: 116.5 kB / 0.871 GB, free: 12.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/0.03332, allocations: 20 kB / 0.871 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.03336, allocations: 51.3 kB / 0.871 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.03447, allocations: 0.5988 MB / 0.8716 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.03711, allocations: 2.609 MB / 0.8742 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.03746, allocations: 489.6 kB / 0.8746 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003526/0.03781, allocations: 162.8 kB / 0.8748 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006602/0.03847, allocations: 411.1 kB / 0.8752 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of SimCode: time 6.82e-07/0.03848, allocations: 0 / 0.8752 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.02607/0.06454, allocations: 23.38 MB / 0.898 GB, free: 1.293 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.56814287789166]