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.0008826/0.0008826, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001253/0.002135, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007135/0.0007135, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009685/0.001682, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.923/0.923, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08091/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.809/1.809, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4438/2.253, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[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_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.[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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.7297 GB, free: 4.316 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.503e-05, allocations: 3.078 kB / 0.7298 GB, free: 4.312 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005928/0.005943, allocations: 7.245 MB / 0.7368 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006307/0.01225, allocations: 5.26 MB / 0.742 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000751/0.013, allocations: 75.44 kB / 0.742 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.01586, allocations: 1.63 MB / 0.7436 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.01688, allocations: 0.6396 MB / 0.7443 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.01764, allocations: 227.8 kB / 0.7445 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.01921, allocations: 1.852 MB / 0.7463 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.0196, allocations: 252.6 kB / 0.7465 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.02105, allocations: 1.369 MB / 0.7479 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.02175, allocations: 0.6778 MB / 0.7485 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.02185, allocations: 80 kB / 0.7486 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.02227, allocations: 212.7 kB / 0.7488 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.02246, allocations: 287.2 kB / 0.7491 GB, free: 492 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.02276, allocations: 389.2 kB / 0.7494 GB, free: 104 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.02393, allocations: 1.599 MB / 0.751 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.02394, allocations: 0 / 0.751 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.162e-06/0.02394, allocations: 0 / 0.751 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.083e-05/0.02396, allocations: 3 kB / 0.751 GB, free: 14.5 MB / 0.7292 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.002015/0.02598, allocations: 2.402 MB / 0.7534 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.02601, allocations: 8.562 kB / 0.7534 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.02615, allocations: 140.8 kB / 0.7535 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.02724, allocations: 1.165 MB / 0.7546 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.02726, allocations: 29.31 kB / 0.7547 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.0273, allocations: 48.09 kB / 0.7547 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.02756, allocations: 263 kB / 0.755 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.02757, allocations: 0.5625 kB / 0.755 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.02759, allocations: 16.66 kB / 0.755 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.02763, allocations: 20.98 kB / 0.755 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.02777, allocations: 120 kB / 0.7551 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.02897, allocations: 0.9565 MB / 0.756 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.02924, allocations: 227.8 kB / 0.7563 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.02929, allocations: 47.64 kB / 0.7563 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.0293, allocations: 4 kB / 0.7563 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.02932, allocations: 34.56 kB / 0.7563 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.02932, allocations: 0.7188 kB / 0.7563 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0002359/0.02956, allocations: 212.7 kB / 0.7565 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.02958, allocations: 55.41 kB / 0.7566 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/0.03055, allocations: 1.426 MB / 0.758 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.03057, allocations: 33.7 kB / 0.758 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.03106, allocations: 431.3 kB / 0.7584 GB, free: 6.676 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.0311, allocations: 83.25 kB / 0.7585 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.591e-05/0.03116, allocations: 73.58 kB / 0.7586 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.03123, allocations: 323.3 kB / 0.7589 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.03127, allocations: 34.81 kB / 0.7589 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.03136, allocations: 148.8 kB / 0.7591 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.0315, allocations: 191.3 kB / 0.7592 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0315, allocations: 0 / 0.7592 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002366/0.03174, allocations: 254.4 kB / 0.7595 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.03175, allocations: 8 kB / 0.7595 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.03176, allocations: 0 / 0.7595 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.03177, allocations: 4.625 kB / 0.7595 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.03197, allocations: 85.02 kB / 0.7596 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.03197, allocations: 7.938 kB / 0.7596 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.03217, allocations: 32.69 kB / 0.7596 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.03218, allocations: 12 kB / 0.7596 GB, free: 5.352 MB / 0.7292 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.0001529/0.03234, allocations: 133.5 kB / 0.7598 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.03243, allocations: 103.9 kB / 0.7599 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.03257, allocations: 163.2 kB / 0.76 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.03258, allocations: 4 kB / 0.76 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.03258, allocations: 0 / 0.76 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.03258, allocations: 4.641 kB / 0.76 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.03323, allocations: 0.7272 MB / 0.7607 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.03323, allocations: 0 / 0.7607 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.03335, allocations: 49.5 kB / 0.7608 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.03357, allocations: 210.5 kB / 0.761 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.03358, allocations: 7.984 kB / 0.761 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.03359, allocations: 4.656 kB / 0.761 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.03359, allocations: 4.594 kB / 0.761 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.03359, allocations: 4 kB / 0.761 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.03381, allocations: 367.5 kB / 0.7614 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.03389, allocations: 0 / 0.7614 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.03405, allocations: 4 kB / 0.7614 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.03408, allocations: 20.91 kB / 0.7614 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.03409, allocations: 4 kB / 0.7614 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006254/0.03471, allocations: 0.7769 MB / 0.7621 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.03471, allocations: 4 kB / 0.7621 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000361/0.03507, allocations: 228.8 kB / 0.7624 GB, free: 2.48 MB / 0.7292 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.0003117/0.03539, allocations: 159.8 kB / 0.7625 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.03554, allocations: 121.8 kB / 0.7626 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/0.03556, allocations: 23.98 kB / 0.7627 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.03583, allocations: 374 kB / 0.763 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.03861, allocations: 5.239 MB / 0.7681 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008709/0.04731, allocations: 2.604 MB / 0.7707 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.04768, allocations: 489.6 kB / 0.7711 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004034/0.04808, allocations: 172.8 kB / 0.7713 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009101/0.04899, allocations: 423 kB / 0.7717 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of SimCode: time 1.273e-06/0.04899, allocations: 0.8438 kB / 0.7717 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.02758/0.07657, allocations: 25.01 MB / 0.7961 GB, free: 15.46 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9472883669659495]