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.001712/0.001712, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002403/0.002403, allocations: 212.3 kB / 23.01 MB, free: 4.566 MB / 14.72 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.624/1.624, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.49 GB / 0.7958 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 64.47 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4517, allocations: 176.1 MB / 1.327 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.01056/0.4623, allocations: 7.423 MB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4724, allocations: 5.258 MB / 1.34 GB, free: 4.664 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.4743, allocations: 67.5 kB / 1.34 GB, free: 4.598 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006093/0.4804, allocations: 1.726 MB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.483, allocations: 0.6127 MB / 1.342 GB, free: 2.246 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.4841, allocations: 250.4 kB / 1.342 GB, free: 2.004 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003141/0.4872, allocations: 1.755 MB / 1.344 GB, free: 252 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/0.4878, allocations: 232.1 kB / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.4893, allocations: 0.7464 MB / 1.345 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.4904, allocations: 0.8201 MB / 1.346 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.4906, allocations: 80 kB / 1.346 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005774/0.4911, allocations: 223.7 kB / 1.346 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.4915, allocations: 342.4 kB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008211/0.4923, allocations: 0.7843 MB / 1.347 GB, free: 13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.4952, allocations: 2.466 MB / 1.349 GB, free: 10.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4952, allocations: 4 kB / 1.349 GB, free: 10.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4952, allocations: 0 / 1.349 GB, free: 10.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.4952, allocations: 0 / 1.349 GB, free: 10.52 MB / 1.045 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.004033/0.4993, allocations: 2.251 MB / 1.352 GB, free: 8.215 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.4993, allocations: 11.97 kB / 1.352 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000321/0.4996, allocations: 211.6 kB / 1.352 GB, free: 7.996 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.5028, allocations: 1.622 MB / 1.353 GB, free: 6.316 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.5029, allocations: 29 kB / 1.353 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.5029, allocations: 39.98 kB / 1.353 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/0.5037, allocations: 442.3 kB / 1.354 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.5038, allocations: 4 kB / 1.354 GB, free: 5.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.5038, allocations: 12 kB / 1.354 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.5e-05/0.5039, allocations: 24.98 kB / 1.354 GB, free: 5.773 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.5046, allocations: 427.6 kB / 1.354 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.5082, allocations: 2.277 MB / 1.357 GB, free: 2.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.5092, allocations: 488.1 kB / 1.357 GB, free: 2.441 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.5095, allocations: 193.3 kB / 1.357 GB, free: 2.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.5095, allocations: 4.281 kB / 1.357 GB, free: 2.246 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.5096, allocations: 34.84 kB / 1.357 GB, free: 2.203 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 2.304e-06/0.5096, allocations: 8 kB / 1.357 GB, free: 2.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001138/0.5107, allocations: 0.6541 MB / 1.358 GB, free: 1.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.5108, allocations: 59.41 kB / 1.358 GB, free: 1.465 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/0.5143, allocations: 2.552 MB / 1.36 GB, free: 14.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.5144, allocations: 29.7 kB / 1.361 GB, free: 14.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008504/0.5152, allocations: 0.7646 MB / 1.361 GB, free: 14.08 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5154, allocations: 123 kB / 1.361 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.5155, allocations: 65.66 kB / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5157, allocations: 322.5 kB / 1.362 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.5159, allocations: 135.9 kB / 1.362 GB, free: 13.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.5162, allocations: 181.5 kB / 1.362 GB, free: 13.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.5166, allocations: 325 kB / 1.362 GB, free: 12.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5167, allocations: 0 / 1.362 GB, free: 12.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008866/0.5175, allocations: 0.5352 MB / 1.363 GB, free: 12.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5176, allocations: 4 kB / 1.363 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5176, allocations: 0 / 1.363 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5176, allocations: 4.031 kB / 1.363 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.5179, allocations: 83.89 kB / 1.363 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5179, allocations: 0 / 1.363 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.5183, allocations: 35.72 kB / 1.363 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.5184, allocations: 4 kB / 1.363 GB, free: 12.26 MB / 1.061 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.0009025/0.5193, allocations: 0.6931 MB / 1.364 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.5195, allocations: 202.6 kB / 1.364 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.5198, allocations: 223.2 kB / 1.364 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5198, allocations: 8 kB / 1.364 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5199, allocations: 0 / 1.364 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.5199, allocations: 3.984 kB / 1.364 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.5222, allocations: 1.538 MB / 1.366 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5222, allocations: 0 / 1.366 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.5225, allocations: 79.89 kB / 1.366 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.5225, allocations: 4 kB / 1.366 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.5225, allocations: 8.094 kB / 1.366 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.5225, allocations: 7.938 kB / 1.366 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.5225, allocations: 3.938 kB / 1.366 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007786/0.5233, allocations: 0.6359 MB / 1.366 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000699/0.524, allocations: 314.5 kB / 1.367 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.5242, allocations: 12 kB / 1.367 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.5245, allocations: 7.984 kB / 1.367 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.5246, allocations: 23.91 kB / 1.367 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.5246, allocations: 15.94 kB / 1.367 GB, free: 8.387 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002906/0.5275, allocations: 1.831 MB / 1.368 GB, free: 6.539 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.5275, allocations: 0 / 1.368 GB, free: 6.539 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007865/0.5283, allocations: 231.7 kB / 1.369 GB, free: 6.312 MB / 1.061 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.0005487/0.5288, allocations: 162.6 kB / 1.369 GB, free: 6.148 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006513/0.5295, allocations: 324.9 kB / 1.369 GB, free: 5.832 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5295, allocations: 0 / 1.369 GB, free: 5.832 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.5298, allocations: 163.8 kB / 1.369 GB, free: 5.672 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.5324, allocations: 0.6288 MB / 1.37 GB, free: 5.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.5383, allocations: 3.201 MB / 1.373 GB, free: 1.805 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.5397, allocations: 1.615 MB / 1.375 GB, free: 160 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.5399, allocations: 91.38 kB / 1.375 GB, free: 68 kB / 1.061 GB Notification: Performance of SimCode: time 1.342e-06/0.5399, allocations: 0 / 1.375 GB, free: 68 kB / 1.061 GB Notification: Performance of Templates: time 0.04396/0.5839, allocations: 24.89 MB / 1.399 GB, free: 7.332 MB / 1.092 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/jenkins1/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: 18.20703737999429]