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.001289/0.001289, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.00149/0.00149, allocations: 220.3 kB / 22.25 MB, free: 5.098 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 7.828 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.964/2.964, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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.001916/0.001916, allocations: 65 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3176, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008005/0.3256, allocations: 6.406 MB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007681/0.3333, allocations: 5.072 MB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.3344, allocations: 71.44 kB / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004198/0.3386, allocations: 1.582 MB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.3404, allocations: 0.636 MB / 1.339 GB, free: 3.637 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3416, allocations: 399.1 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.3451, allocations: 3.005 MB / 1.343 GB, free: 244 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004625/0.3455, allocations: 222.5 kB / 1.343 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.3472, allocations: 1.144 MB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.3494, allocations: 1.678 MB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004032/0.3498, allocations: 199.9 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007093/0.3505, allocations: 323.8 kB / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007043/0.3512, allocations: 0.7088 MB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.3525, allocations: 0.9797 MB / 1.348 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004008/0.3565, allocations: 3.702 MB / 1.351 GB, free: 7.238 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3565, allocations: 4 kB / 1.351 GB, free: 7.234 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3565, allocations: 3.938 kB / 1.351 GB, free: 7.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.748e-05/0.3565, allocations: 0 / 1.351 GB, free: 7.23 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.006965/0.3635, allocations: 3.474 MB / 1.355 GB, free: 3.707 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3636, allocations: 12.03 kB / 1.355 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.3637, allocations: 90.64 kB / 1.355 GB, free: 3.598 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.3641, allocations: 255.3 kB / 1.355 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003786/0.3679, allocations: 1.925 MB / 1.357 GB, free: 1.367 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.3679, allocations: 61 kB / 1.357 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.3681, allocations: 88 kB / 1.357 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.3692, allocations: 0.7207 MB / 1.358 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3693, allocations: 0 / 1.358 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/0.3693, allocations: 16 kB / 1.358 GB, free: 488 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.3693, allocations: 12 kB / 1.358 GB, free: 476 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.3708, allocations: 0.972 MB / 1.359 GB, free: 15.49 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.01002/0.3808, allocations: 3.731 MB / 1.363 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.3821, allocations: 0.7435 MB / 1.363 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.3827, allocations: 476.9 kB / 1.364 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.3828, allocations: 11.94 kB / 1.364 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3828, allocations: 38.5 kB / 1.364 GB, free: 10.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.405e-06/0.3828, allocations: 0 / 1.364 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.009585/0.3924, allocations: 3.386 MB / 1.367 GB, free: 7.035 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.3924, allocations: 67.22 kB / 1.367 GB, free: 6.957 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.3965, allocations: 2.941 MB / 1.37 GB, free: 4.004 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003389/0.3968, allocations: 53.7 kB / 1.37 GB, free: 3.945 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009415/0.3977, allocations: 0.8635 MB / 1.371 GB, free: 3.074 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.3979, allocations: 162.6 kB / 1.371 GB, free: 2.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006046/0.3985, allocations: 335.5 kB / 1.371 GB, free: 2.578 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3987, allocations: 357.9 kB / 1.372 GB, free: 2.223 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.4006, allocations: 1.374 MB / 1.373 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.403, allocations: 1.854 MB / 1.375 GB, free: 14.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002676/0.4057, allocations: 1.918 MB / 1.377 GB, free: 13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.4057, allocations: 8 kB / 1.377 GB, free: 12.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.00719/0.4129, allocations: 4.071 MB / 1.381 GB, free: 8.902 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.4129, allocations: 12 kB / 1.381 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4129, allocations: 0 / 1.381 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003115/0.416, allocations: 1.101 MB / 1.382 GB, free: 7.785 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.4172, allocations: 223.7 kB / 1.382 GB, free: 7.566 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.4291, allocations: 7.734 MB / 1.39 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.4311, allocations: 278.5 kB / 1.39 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002232/0.4313, allocations: 40 kB / 1.39 GB, free: 15.39 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.001241/0.4325, allocations: 0.8067 MB / 1.391 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.4329, allocations: 226.4 kB / 1.391 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.4334, allocations: 250.7 kB / 1.391 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4334, allocations: 4.109 kB / 1.391 GB, free: 14.1 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.492e-05/0.4334, allocations: 11.94 kB / 1.391 GB, free: 14.09 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4334, allocations: 7.984 kB / 1.391 GB, free: 14.08 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.4348, allocations: 1.044 MB / 1.392 GB, free: 13 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4348, allocations: 0 / 1.392 GB, free: 13 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.4349, allocations: 4 kB / 1.392 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/0.4378, allocations: 1.023 MB / 1.393 GB, free: 11.96 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.4379, allocations: 8 kB / 1.393 GB, free: 11.96 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/0.4496, allocations: 7.732 MB / 1.401 GB, free: 4.105 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4496, allocations: 0 / 1.401 GB, free: 4.105 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003866/0.4535, allocations: 1.943 MB / 1.403 GB, free: 2.141 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.4546, allocations: 378.3 kB / 1.403 GB, free: 1.77 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.4548, allocations: 4 kB / 1.403 GB, free: 1.766 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.4554, allocations: 35.91 kB / 1.403 GB, free: 1.73 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.4556, allocations: 43.84 kB / 1.403 GB, free: 1.688 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.4556, allocations: 12.09 kB / 1.403 GB, free: 1.676 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002919/0.4585, allocations: 2.04 MB / 1.405 GB, free: 15.63 MB / 1.108 GB Notification: Performance of sort global known variables: time 9e-08/0.4585, allocations: 0 / 1.405 GB, free: 15.63 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.001732/0.4602, allocations: 0.6091 MB / 1.406 GB, free: 15.02 MB / 1.108 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.00431/0.4646, allocations: 2.557 MB / 1.408 GB, free: 12.44 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.005024/0.4696, allocations: 2.53 MB / 1.411 GB, free: 9.895 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4696, allocations: 0 / 1.411 GB, free: 9.895 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.4718, allocations: 1.02 MB / 1.412 GB, free: 8.859 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.4744, allocations: 0.6735 MB / 1.412 GB, free: 8.203 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03924/0.5137, allocations: 25.23 MB / 1.437 GB, free: 14.76 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.5151, allocations: 1.327 MB / 1.438 GB, free: 13.39 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001039/0.5162, allocations: 329.8 kB / 1.439 GB, free: 13.06 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.5172, allocations: 0.7141 MB / 1.439 GB, free: 12.35 MB / 1.139 GB Notification: Performance of SimCode: time 9.12e-07/0.5172, allocations: 0 / 1.439 GB, free: 12.35 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/0.6334, allocations: 67.52 MB / 1.505 GB, free: 9.688 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.15, allocations: 3.938 kB / 1.505 GB, free: 9.684 MB / 1.201 GB " [Timeout remaining time 286] (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: 20.43490502500208]