Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.001322/0.001322, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001554/0.001554, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.357/1.357, allocations: 230.6 MB / 256 MB, free: 8.008 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 2.995/2.995, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) [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.001952/0.001952, allocations: 67.17 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3266, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009475/0.3361, allocations: 7.312 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008966/0.3451, allocations: 5.609 MB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.3465, allocations: 71.44 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005046/0.3515, allocations: 1.73 MB / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.3537, allocations: 0.6321 MB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.3551, allocations: 398.3 kB / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004425/0.3596, allocations: 3.011 MB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.3602, allocations: 226.5 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.3626, allocations: 1.125 MB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/0.3656, allocations: 1.694 MB / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000818/0.3664, allocations: 196 kB / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3676, allocations: 339.8 kB / 1.348 GB, free: 11.44 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.3688, allocations: 0.7048 MB / 1.348 GB, free: 10.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002311/0.3711, allocations: 1.213 MB / 1.35 GB, free: 9.512 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005066/0.3761, allocations: 3.705 MB / 1.353 GB, free: 5.793 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3762, allocations: 0 / 1.353 GB, free: 5.793 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3762, allocations: 0 / 1.353 GB, free: 5.793 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001092/0.3763, allocations: 0 / 1.353 GB, free: 5.793 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.008615/0.3849, allocations: 3.478 MB / 1.357 GB, free: 2.266 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3849, allocations: 8.031 kB / 1.357 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.3851, allocations: 86.72 kB / 1.357 GB, free: 2.164 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006788/0.3858, allocations: 263.2 kB / 1.357 GB, free: 1.906 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004407/0.3902, allocations: 1.917 MB / 1.359 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.3903, allocations: 65 kB / 1.359 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.3906, allocations: 88 kB / 1.359 GB, free: 15.78 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.3918, allocations: 0.7207 MB / 1.36 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3918, allocations: 0 / 1.36 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.3918, allocations: 20 kB / 1.36 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3918, allocations: 12 kB / 1.36 GB, free: 15.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.3934, allocations: 0.9797 MB / 1.361 GB, free: 14.05 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.4042, allocations: 4.476 MB / 1.365 GB, free: 9.438 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.4055, allocations: 0.7518 MB / 1.366 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.4062, allocations: 469.2 kB / 1.366 GB, free: 8.219 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.4062, allocations: 4 kB / 1.366 GB, free: 8.215 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4062, allocations: 42.48 kB / 1.366 GB, free: 8.164 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.886e-06/0.4062, allocations: 0 / 1.366 GB, free: 8.164 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.009745/0.416, allocations: 3.383 MB / 1.37 GB, free: 4.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.416, allocations: 63.28 kB / 1.37 GB, free: 4.695 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004906/0.4209, allocations: 2.953 MB / 1.373 GB, free: 1.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000289/0.4212, allocations: 49.7 kB / 1.373 GB, free: 1.676 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.4224, allocations: 0.8635 MB / 1.373 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.4226, allocations: 162.6 kB / 1.374 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008597/0.4234, allocations: 335.5 kB / 1.374 GB, free: 316 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4236, allocations: 357.9 kB / 1.374 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.4256, allocations: 1.374 MB / 1.376 GB, free: 14.58 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.4281, allocations: 1.624 MB / 1.377 GB, free: 12.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.4309, allocations: 1.918 MB / 1.379 GB, free: 11.01 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4309, allocations: 0 / 1.379 GB, free: 11.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008046/0.439, allocations: 4.083 MB / 1.383 GB, free: 6.914 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.439, allocations: 4 kB / 1.383 GB, free: 6.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.439, allocations: 0 / 1.383 GB, free: 6.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003266/0.4423, allocations: 1.108 MB / 1.384 GB, free: 5.797 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.4436, allocations: 223.7 kB / 1.384 GB, free: 5.578 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.4568, allocations: 7.843 MB / 1.392 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.4589, allocations: 278.5 kB / 1.392 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/0.4592, allocations: 40 kB / 1.392 GB, free: 13.3 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001534/0.4607, allocations: 0.8017 MB / 1.393 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/0.4613, allocations: 222.5 kB / 1.393 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.4619, allocations: 254.7 kB / 1.394 GB, free: 12.02 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4619, allocations: 7.938 kB / 1.394 GB, free: 12.01 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.812e-05/0.462, allocations: 8 kB / 1.394 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.462, allocations: 4 kB / 1.394 GB, free: 12 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.4641, allocations: 1.2 MB / 1.395 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.4641, allocations: 4 kB / 1.395 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.4642, allocations: 4 kB / 1.395 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00301/0.4672, allocations: 1.027 MB / 1.396 GB, free: 9.715 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.4672, allocations: 8 kB / 1.396 GB, free: 9.707 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/0.4797, allocations: 7.832 MB / 1.403 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4797, allocations: 0 / 1.403 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/0.4837, allocations: 1.951 MB / 1.405 GB, free: 15.79 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.4848, allocations: 382.3 kB / 1.406 GB, free: 15.41 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004063/0.4852, allocations: 11.94 kB / 1.406 GB, free: 15.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.4859, allocations: 27.95 kB / 1.406 GB, free: 15.37 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.4861, allocations: 47.86 kB / 1.406 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.4861, allocations: 4 kB / 1.406 GB, free: 15.32 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003661/0.4897, allocations: 2.044 MB / 1.408 GB, free: 13.27 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.4897, allocations: 0 / 1.408 GB, free: 13.27 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001843/0.4916, allocations: 0.6131 MB / 1.408 GB, free: 12.66 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004511/0.4961, allocations: 2.542 MB / 1.411 GB, free: 10.09 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005291/0.5014, allocations: 2.53 MB / 1.413 GB, free: 7.539 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5014, allocations: 0 / 1.413 GB, free: 7.539 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.5038, allocations: 1.023 MB / 1.414 GB, free: 6.5 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/0.5069, allocations: 0.6774 MB / 1.415 GB, free: 5.84 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04506/0.552, allocations: 25.23 MB / 1.44 GB, free: 12.38 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/0.5537, allocations: 1.911 MB / 1.441 GB, free: 10.44 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001026/0.5547, allocations: 333.8 kB / 1.442 GB, free: 10.11 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.5557, allocations: 0.7063 MB / 1.442 GB, free: 9.402 MB / 1.139 GB Notification: Performance of SimCode: time 7.72e-07/0.5557, allocations: 0 / 1.442 GB, free: 9.402 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/0.6746, allocations: 62.93 MB / 1.504 GB, free: 11.12 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.23, allocations: 6.797 kB / 1.504 GB, free: 11.11 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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: 22.629591652890667]