Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008666/0.0008666, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008559/0.0008559, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9038/0.9038, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.744/1.744, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.9823 GB, free: 2 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.212e-05, allocations: 2.281 kB / 0.9823 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005449/0.005471, allocations: 6.505 MB / 0.9886 GB, free: 11.45 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004444/0.009915, allocations: 4.733 MB / 0.9933 GB, free: 6.703 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.01043, allocations: 79.44 kB / 0.9933 GB, free: 6.625 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.01276, allocations: 1.589 MB / 0.9949 GB, free: 5.027 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006792/0.01344, allocations: 0.6472 MB / 0.9955 GB, free: 4.375 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.01389, allocations: 229.9 kB / 0.9957 GB, free: 4.152 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.01589, allocations: 1.838 MB / 0.9975 GB, free: 2.312 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.01625, allocations: 228 kB / 0.9977 GB, free: 2.07 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000921/0.01717, allocations: 0.9933 MB / 0.9987 GB, free: 1.074 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.01779, allocations: 0.6895 MB / 0.9994 GB, free: 392 kB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.0179, allocations: 80 kB / 0.9995 GB, free: 312 kB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.0183, allocations: 207.7 kB / 0.9997 GB, free: 104 kB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.01857, allocations: 350.4 kB / 1 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.01896, allocations: 454.7 kB / 1 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.02082, allocations: 2.371 MB / 1.003 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.02083, allocations: 0 / 1.003 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.785e-06/0.02083, allocations: 0 / 1.003 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.02085, allocations: 0 / 1.003 GB, free: 12.93 MB / 0.9636 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.002296/0.02314, allocations: 2.236 MB / 1.005 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.02318, allocations: 8.031 kB / 1.005 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.02336, allocations: 215.5 kB / 1.005 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.02503, allocations: 1.618 MB / 1.007 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.02506, allocations: 29.36 kB / 1.007 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.0251, allocations: 39.94 kB / 1.007 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.02558, allocations: 476 kB / 1.007 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.02559, allocations: 0 / 1.007 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.02562, allocations: 11.98 kB / 1.007 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.02565, allocations: 28.98 kB / 1.007 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.02606, allocations: 419.6 kB / 1.008 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.02784, allocations: 1.672 MB / 1.009 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.02847, allocations: 480.6 kB / 1.01 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.02866, allocations: 198.4 kB / 1.01 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.02867, allocations: 4.281 kB / 1.01 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.02871, allocations: 46.72 kB / 1.01 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.02871, allocations: 0 / 1.01 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34): time 0.0006595/0.02937, allocations: 0.6469 MB / 1.011 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.02941, allocations: 59.39 kB / 1.011 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.03168, allocations: 2.458 MB / 1.013 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.0317, allocations: 33.7 kB / 1.013 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.0322, allocations: 0.7601 MB / 1.014 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.03227, allocations: 122.9 kB / 1.014 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.03234, allocations: 65.66 kB / 1.014 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.03243, allocations: 318 kB / 1.014 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.03257, allocations: 135.9 kB / 1.014 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.03275, allocations: 212.7 kB / 1.015 GB, free: 432 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.03305, allocations: 325.6 kB / 1.015 GB, free: 104 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.03306, allocations: 3.938 kB / 1.015 GB, free: 100 kB / 0.9636 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004699/0.03353, allocations: 0.5236 MB / 1.016 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.03355, allocations: 14.28 kB / 1.016 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.03355, allocations: 0 / 1.016 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.03357, allocations: 0 / 1.016 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.03374, allocations: 79.89 kB / 1.016 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.03375, allocations: 4 kB / 1.016 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.03391, allocations: 19.86 kB / 1.016 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.03393, allocations: 12 kB / 1.016 GB, free: 15.44 MB / 0.9792 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.000519/0.03445, allocations: 0.6925 MB / 1.016 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.03457, allocations: 194.7 kB / 1.017 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.03476, allocations: 206.6 kB / 1.017 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.03476, allocations: 4 kB / 1.017 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.03477, allocations: 0 / 1.017 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.03477, allocations: 4 kB / 1.017 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.03602, allocations: 1.39 MB / 1.018 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.03603, allocations: 4.094 kB / 1.018 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.03617, allocations: 83.89 kB / 1.018 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.03618, allocations: 4 kB / 1.018 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.03619, allocations: 4 kB / 1.018 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.0362, allocations: 4 kB / 1.018 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0362, allocations: 0 / 1.018 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.03696, allocations: 0.6432 MB / 1.019 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.03728, allocations: 298.6 kB / 1.019 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.03737, allocations: 8 kB / 1.019 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.03756, allocations: 11.98 kB / 1.019 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.03759, allocations: 23.97 kB / 1.019 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.03761, allocations: 8 kB / 1.019 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001432/0.03904, allocations: 1.767 MB / 1.021 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.03904, allocations: 0 / 1.021 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003983/0.03944, allocations: 239.7 kB / 1.021 GB, free: 9.762 MB / 0.9792 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.0003317/0.03977, allocations: 171.1 kB / 1.021 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.04013, allocations: 331.6 kB / 1.022 GB, free: 9.27 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.04013, allocations: 0 / 1.022 GB, free: 9.27 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.04028, allocations: 163.7 kB / 1.022 GB, free: 9.109 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.04144, allocations: 0.5766 MB / 1.022 GB, free: 8.543 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.04475, allocations: 3.148 MB / 1.025 GB, free: 5.344 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.04542, allocations: 1.035 MB / 1.026 GB, free: 4.273 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.04555, allocations: 80.5 kB / 1.026 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of SimCode: time 9.52e-07/0.04555, allocations: 0 / 1.026 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of Templates: time 0.465/0.5105, allocations: 24.85 MB / 1.051 GB, free: 100.6 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.36228628642857]