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.001103/0.001103, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009826/0.0009826, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.016/1.016, allocations: 177.2 MB / 203.8 MB, free: 5.59 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.148/2.148, allocations: 429.5 MB / 0.6736 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.372e-06/1.372e-06, allocations: 0.6562 kB / 0.8783 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.588e-05, allocations: 9.141 kB / 0.8783 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006106/0.006122, allocations: 7.344 MB / 0.8855 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004588/0.01071, allocations: 5.113 MB / 0.8905 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.01117, allocations: 67.5 kB / 0.8905 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.01356, allocations: 1.608 MB / 0.8921 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006858/0.01424, allocations: 0.6357 MB / 0.8927 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.01463, allocations: 232.6 kB / 0.8929 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.01592, allocations: 1.833 MB / 0.8947 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.01622, allocations: 232 kB / 0.8949 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007311/0.01695, allocations: 0.9971 MB / 0.8959 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005243/0.01748, allocations: 0.6895 MB / 0.8966 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.34e-05/0.01757, allocations: 80 kB / 0.8967 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.01787, allocations: 207.7 kB / 0.8969 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.01808, allocations: 350.4 kB / 0.8972 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.01842, allocations: 454.7 kB / 0.8976 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.0196, allocations: 1.677 MB / 0.8993 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.0196, allocations: 0 / 0.8993 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.32e-07/0.0196, allocations: 4 kB / 0.8993 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.01962, allocations: 3.938 kB / 0.8993 GB, free: 0.9375 MB / 0.8542 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.002101/0.02172, allocations: 2.497 MB / 0.9017 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.02175, allocations: 12.03 kB / 0.9017 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.02194, allocations: 235.6 kB / 0.9019 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.02331, allocations: 1.395 MB / 0.9033 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.02333, allocations: 35.61 kB / 0.9033 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.02337, allocations: 32 kB / 0.9034 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.02369, allocations: 264.2 kB / 0.9036 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.0237, allocations: 0 / 0.9036 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.02373, allocations: 19.98 kB / 0.9036 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.02377, allocations: 20.98 kB / 0.9037 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.02402, allocations: 165.8 kB / 0.9038 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.02586, allocations: 1.819 MB / 0.9056 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.02633, allocations: 262.1 kB / 0.9059 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.02645, allocations: 84.12 kB / 0.9059 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.02646, allocations: 4.281 kB / 0.9059 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.02649, allocations: 53.55 kB / 0.906 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.0265, allocations: 4 kB / 0.906 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34): time 0.0004986/0.02699, allocations: 398.8 kB / 0.9064 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.02702, allocations: 55.41 kB / 0.9064 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.02911, allocations: 2.168 MB / 0.9085 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.02913, allocations: 33.7 kB / 0.9086 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006848/0.02982, allocations: 1.004 MB / 0.9096 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.02988, allocations: 119 kB / 0.9097 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.02995, allocations: 75.31 kB / 0.9097 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.03006, allocations: 0.5009 MB / 0.9102 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.03014, allocations: 35.97 kB / 0.9103 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.03025, allocations: 111 kB / 0.9104 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.03043, allocations: 124.6 kB / 0.9105 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.03043, allocations: 0 / 0.9105 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003426/0.03077, allocations: 352.3 kB / 0.9108 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.03078, allocations: 4 kB / 0.9108 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.03079, allocations: 0 / 0.9108 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.0308, allocations: 4 kB / 0.9108 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.03098, allocations: 79.89 kB / 0.9109 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.03099, allocations: 0 / 0.9109 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.03116, allocations: 23.84 kB / 0.9109 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.03117, allocations: 4 kB / 0.9109 GB, free: 4.684 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (36): * Single equations (assignments): 36 * 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.0001866/0.03136, allocations: 184.5 kB / 0.9111 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.03149, allocations: 198.7 kB / 0.9113 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.03165, allocations: 166.6 kB / 0.9115 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.03165, allocations: 4 kB / 0.9115 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.03166, allocations: 0 / 0.9115 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.03166, allocations: 3.984 kB / 0.9115 GB, free: 4.125 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.03306, allocations: 1.584 MB / 0.913 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.03306, allocations: 0 / 0.913 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.03322, allocations: 83.98 kB / 0.9131 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.03323, allocations: 0 / 0.9131 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.03324, allocations: 8 kB / 0.9131 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.03324, allocations: 0 / 0.9131 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.03324, allocations: 7.938 kB / 0.9131 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.03362, allocations: 0.5473 MB / 0.9136 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.03391, allocations: 278.5 kB / 0.9139 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.835e-05/0.034, allocations: 4 kB / 0.9139 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.03419, allocations: 11.98 kB / 0.9139 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.03423, allocations: 27.89 kB / 0.9139 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.03424, allocations: 12 kB / 0.914 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001098/0.03534, allocations: 1.166 MB / 0.9151 GB, free: 296 kB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.03534, allocations: 0 / 0.9151 GB, free: 296 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003979/0.03574, allocations: 235.7 kB / 0.9153 GB, free: 60 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.0004726/0.03621, allocations: 171.1 kB / 0.9155 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.03646, allocations: 155.5 kB / 0.9156 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.03646, allocations: 7.938 kB / 0.9156 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.03656, allocations: 92.33 kB / 0.9157 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.03777, allocations: 0.6037 MB / 0.9163 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.04052, allocations: 2.724 MB / 0.919 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.04089, allocations: 0.5611 MB / 0.9195 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003563/0.04125, allocations: 226.6 kB / 0.9197 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.04137, allocations: 84.5 kB / 0.9198 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of SimCode: time 8.11e-07/0.04137, allocations: 0 / 0.9198 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of Templates: time 0.02457/0.06594, allocations: 21.75 MB / 0.9411 GB, free: 6.074 MB / 0.9011 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 -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.631894168909639]