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.001267/0.001267, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001498/0.001498, allocations: 216.9 kB / 23.04 MB, free: 5.074 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.984/2.984, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="cs",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.001919/0.001919, allocations: 68.45 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.327, allocations: 176.1 MB / 1.327 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008783/0.3358, allocations: 7.315 MB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008359/0.3441, allocations: 5.609 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.3455, allocations: 71.44 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004675/0.3502, allocations: 1.722 MB / 1.341 GB, free: 3.062 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.3522, allocations: 0.6438 MB / 1.342 GB, free: 2.414 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3534, allocations: 395 kB / 1.342 GB, free: 2.031 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003813/0.3572, allocations: 3.004 MB / 1.345 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005467/0.3578, allocations: 226.5 kB / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.3598, allocations: 1.125 MB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/0.3623, allocations: 1.694 MB / 1.348 GB, free: 11.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005352/0.3629, allocations: 196 kB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008641/0.3637, allocations: 343.7 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006968/0.3644, allocations: 0.701 MB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001508/0.3659, allocations: 1.213 MB / 1.35 GB, free: 9.492 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004288/0.3702, allocations: 3.705 MB / 1.354 GB, free: 5.773 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3702, allocations: 0 / 1.354 GB, free: 5.773 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3702, allocations: 4 kB / 1.354 GB, free: 5.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.438e-05/0.3703, allocations: 0 / 1.354 GB, free: 5.77 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.007811/0.3781, allocations: 3.474 MB / 1.357 GB, free: 2.246 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.3782, allocations: 12.03 kB / 1.357 GB, free: 2.234 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.313e-05/0.3782, allocations: 17.19 kB / 1.357 GB, free: 2.219 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3783, allocations: 86.7 kB / 1.358 GB, free: 2.125 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004914/0.3788, allocations: 259.3 kB / 1.358 GB, free: 1.871 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/0.3825, allocations: 1.921 MB / 1.36 GB, free: 15.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.3825, allocations: 61 kB / 1.36 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.3827, allocations: 88 kB / 1.36 GB, free: 15.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.3838, allocations: 0.7169 MB / 1.36 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3838, allocations: 0 / 1.36 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.3839, allocations: 19.98 kB / 1.361 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.3839, allocations: 16 kB / 1.361 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.3854, allocations: 0.9758 MB / 1.361 GB, free: 14.01 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.01122/0.3966, allocations: 4.475 MB / 1.366 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.398, allocations: 0.7417 MB / 1.367 GB, free: 8.648 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/0.3986, allocations: 473.2 kB / 1.367 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.3986, allocations: 7.938 kB / 1.367 GB, free: 8.176 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3987, allocations: 38.56 kB / 1.367 GB, free: 8.129 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.3987, allocations: 0 / 1.367 GB, free: 8.129 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.0101/0.4088, allocations: 3.384 MB / 1.37 GB, free: 4.734 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4088, allocations: 63.34 kB / 1.37 GB, free: 4.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/0.4132, allocations: 2.945 MB / 1.373 GB, free: 1.703 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004123/0.4136, allocations: 53.7 kB / 1.373 GB, free: 1.645 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.4146, allocations: 0.8634 MB / 1.374 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.4148, allocations: 166.6 kB / 1.374 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006094/0.4154, allocations: 331.6 kB / 1.375 GB, free: 284 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4156, allocations: 369.9 kB / 1.375 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.4175, allocations: 1.366 MB / 1.376 GB, free: 14.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.4198, allocations: 1.624 MB / 1.378 GB, free: 12.91 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/0.4225, allocations: 1.926 MB / 1.38 GB, free: 10.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4225, allocations: 0 / 1.38 GB, free: 10.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007411/0.4299, allocations: 4.075 MB / 1.384 GB, free: 6.883 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.4299, allocations: 8 kB / 1.384 GB, free: 6.875 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4299, allocations: 0 / 1.384 GB, free: 6.875 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/0.4332, allocations: 1.105 MB / 1.385 GB, free: 5.766 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.4345, allocations: 223.7 kB / 1.385 GB, free: 5.547 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.4466, allocations: 7.855 MB / 1.393 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.4488, allocations: 274.5 kB / 1.393 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.4491, allocations: 40 kB / 1.393 GB, free: 13.26 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.001304/0.4504, allocations: 0.8095 MB / 1.394 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/0.4508, allocations: 222.5 kB / 1.394 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.4512, allocations: 250.7 kB / 1.394 GB, free: 11.97 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4513, allocations: 8 kB / 1.394 GB, free: 11.96 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/0.4513, allocations: 4 kB / 1.394 GB, free: 11.96 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4513, allocations: 7.984 kB / 1.394 GB, free: 11.95 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.4528, allocations: 1.2 MB / 1.396 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4528, allocations: 0 / 1.396 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.4529, allocations: 0 / 1.396 GB, free: 10.71 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003016/0.4559, allocations: 1.023 MB / 1.397 GB, free: 9.684 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.4559, allocations: 8 kB / 1.397 GB, free: 9.676 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.468, allocations: 7.836 MB / 1.404 GB, free: 1.719 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.468, allocations: 3.938 kB / 1.404 GB, free: 1.715 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/0.472, allocations: 1.943 MB / 1.406 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.473, allocations: 386.2 kB / 1.406 GB, free: 15.37 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.4732, allocations: 4 kB / 1.406 GB, free: 15.37 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.4738, allocations: 23.97 kB / 1.406 GB, free: 15.34 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.474, allocations: 47.89 kB / 1.407 GB, free: 15.3 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.474, allocations: 8 kB / 1.407 GB, free: 15.29 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002961/0.477, allocations: 2.04 MB / 1.409 GB, free: 13.24 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.71e-07/0.477, allocations: 0 / 1.409 GB, free: 13.24 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001871/0.4789, allocations: 0.613 MB / 1.409 GB, free: 12.63 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.004479/0.4834, allocations: 2.556 MB / 1.412 GB, free: 10.05 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005135/0.4885, allocations: 2.538 MB / 1.414 GB, free: 7.496 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4885, allocations: 0 / 1.414 GB, free: 7.496 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002295/0.4908, allocations: 1.02 MB / 1.415 GB, free: 6.461 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.4936, allocations: 0.6709 MB / 1.416 GB, free: 5.805 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04172/0.5354, allocations: 25.23 MB / 1.44 GB, free: 12.35 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.5371, allocations: 1.911 MB / 1.442 GB, free: 10.4 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001218/0.5383, allocations: 329.8 kB / 1.443 GB, free: 10.07 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.5394, allocations: 0.7063 MB / 1.443 GB, free: 9.371 MB / 1.139 GB Notification: Performance of SimCode: time 1.643e-06/0.5394, allocations: 0 / 1.443 GB, free: 9.371 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/0.6535, allocations: 62.95 MB / 1.505 GB, free: 11.08 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.75, allocations: 15.19 kB / 1.505 GB, free: 11.07 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.380586644052528]