Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.001881/0.001881, allocations: 111.8 kB / 16.46 MB, free: 6.453 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.002126/0.002126, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.376/1.376, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.998/2.998, allocations: 0.49 GB / 0.7916 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.RadiationTemperature,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.001922/0.001922, allocations: 75.47 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 176.1 MB / 1.321 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.00926/0.3428, allocations: 7.907 MB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007999/0.3508, allocations: 5.422 MB / 1.334 GB, free: 5.809 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.352, allocations: 79.44 kB / 1.334 GB, free: 5.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004263/0.3563, allocations: 1.73 MB / 1.336 GB, free: 3.992 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.358, allocations: 0.6591 MB / 1.336 GB, free: 3.328 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/0.3589, allocations: 307.9 kB / 1.337 GB, free: 3.027 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00257/0.3615, allocations: 2.048 MB / 1.339 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007093/0.3622, allocations: 0.5044 MB / 1.339 GB, free: 460 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.3632, allocations: 0.8128 MB / 1.34 GB, free: 15.63 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.3644, allocations: 0.8862 MB / 1.341 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.3645, allocations: 92 kB / 1.341 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.365, allocations: 219.8 kB / 1.341 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.3654, allocations: 378.3 kB / 1.341 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008653/0.3662, allocations: 0.8739 MB / 1.342 GB, free: 13.19 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.3692, allocations: 2.653 MB / 1.345 GB, free: 10.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3692, allocations: 0 / 1.345 GB, free: 10.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3692, allocations: 0 / 1.345 GB, free: 10.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.015e-05/0.3692, allocations: 0 / 1.345 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003478/0.3727, allocations: 2.471 MB / 1.347 GB, free: 7.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3727, allocations: 11.98 kB / 1.347 GB, free: 7.973 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.3729, allocations: 94.64 kB / 1.347 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.3731, allocations: 231.4 kB / 1.348 GB, free: 7.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.3758, allocations: 1.734 MB / 1.349 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.3758, allocations: 40.94 kB / 1.349 GB, free: 5.801 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.3759, allocations: 55.94 kB / 1.349 GB, free: 5.746 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/0.3767, allocations: 0.5529 MB / 1.35 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3768, allocations: 0 / 1.35 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.3768, allocations: 16 kB / 1.35 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3768, allocations: 16 kB / 1.35 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007477/0.3776, allocations: 0.4957 MB / 1.35 GB, free: 4.664 MB / 1.045 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.004403/0.382, allocations: 3.24 MB / 1.354 GB, free: 1.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.944e-05/0.3821, allocations: 58.53 kB / 1.354 GB, free: 1.109 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.3821, allocations: 48.88 kB / 1.354 GB, free: 1.059 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.3821, allocations: 0 / 1.354 GB, free: 1.059 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3822, allocations: 34.56 kB / 1.354 GB, free: 1.016 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3822, allocations: 0 / 1.354 GB, free: 1.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0005609/0.3827, allocations: 368.1 kB / 1.354 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.3828, allocations: 51.41 kB / 1.354 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.3865, allocations: 2.931 MB / 1.357 GB, free: 13.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3865, allocations: 33.83 kB / 1.357 GB, free: 13.6 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/0.3874, allocations: 0.9435 MB / 1.358 GB, free: 12.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.3874, allocations: 11.98 kB / 1.358 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.3876, allocations: 114.1 kB / 1.358 GB, free: 12.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3877, allocations: 329.9 kB / 1.358 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3879, allocations: 153 kB / 1.359 GB, free: 12.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.3884, allocations: 473.2 kB / 1.359 GB, free: 11.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.3891, allocations: 0.6058 MB / 1.36 GB, free: 10.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3891, allocations: 0 / 1.36 GB, free: 10.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001083/0.3902, allocations: 0.7776 MB / 1.36 GB, free: 9.891 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3902, allocations: 18.27 kB / 1.36 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.3902, allocations: 12 kB / 1.36 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.3903, allocations: 12 kB / 1.36 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.3906, allocations: 103.8 kB / 1.36 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.3906, allocations: 19.92 kB / 1.361 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/0.3912, allocations: 99.39 kB / 1.361 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.3912, allocations: 28 kB / 1.361 GB, free: 9.605 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * 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.0008223/0.392, allocations: 0.7353 MB / 1.361 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.3923, allocations: 218.5 kB / 1.362 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.3926, allocations: 223.8 kB / 1.362 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3926, allocations: 0 / 1.362 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3926, allocations: 0 / 1.362 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3926, allocations: 0 / 1.362 GB, free: 8.418 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.3937, allocations: 0.947 MB / 1.363 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3937, allocations: 0 / 1.363 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.3937, allocations: 0 / 1.363 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3937, allocations: 0 / 1.363 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3937, allocations: 0 / 1.363 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3937, allocations: 4 kB / 1.363 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3937, allocations: 4 kB / 1.363 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.3942, allocations: 430.3 kB / 1.363 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.3947, allocations: 379.6 kB / 1.363 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.3948, allocations: 3.938 kB / 1.363 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003208/0.3952, allocations: 4 kB / 1.363 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.3952, allocations: 3.984 kB / 1.363 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3952, allocations: 0 / 1.363 GB, free: 6.574 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002724/0.3979, allocations: 2.062 MB / 1.366 GB, free: 4.504 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3979, allocations: 0 / 1.366 GB, free: 4.504 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007388/0.3986, allocations: 247.8 kB / 1.366 GB, free: 4.262 MB / 1.061 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 (1): * Single equations (assignments): 1 * 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.001044/0.3997, allocations: 1.021 MB / 1.367 GB, free: 3.215 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004913/0.4002, allocations: 298.2 kB / 1.367 GB, free: 2.926 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4002, allocations: 4 kB / 1.367 GB, free: 2.922 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.24e-05/0.4003, allocations: 39.95 kB / 1.367 GB, free: 2.883 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.4026, allocations: 0.7154 MB / 1.368 GB, free: 2.184 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/0.4274, allocations: 16.31 MB / 1.384 GB, free: 1.402 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.4289, allocations: 1.8 MB / 1.385 GB, free: 15.57 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008683/0.4298, allocations: 313.4 kB / 1.386 GB, free: 15.25 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008093/0.4306, allocations: 0.6828 MB / 1.386 GB, free: 14.57 MB / 1.092 GB Notification: Performance of SimCode: time 1.232e-06/0.4306, allocations: 0 / 1.386 GB, free: 14.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08947/0.52, allocations: 44.19 MB / 1.43 GB, free: 2.977 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.92, allocations: 7 kB / 1.43 GB, free: 2.973 MB / 1.123 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.34973973990418]