Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001803/0.001803, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002314/0.002314, allocations: 215.8 kB / 22.26 MB, free: 5.082 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.134/3.134, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_latest_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.001969/0.001969, allocations: 71.94 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 180.2 MB / 1.353 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.01049/0.3573, allocations: 7.929 MB / 1.361 GB, free: 388 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.009224/0.3665, allocations: 5.441 MB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.3681, allocations: 75.44 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005196/0.3733, allocations: 1.753 MB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.3756, allocations: 0.6747 MB / 1.368 GB, free: 8.402 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.3768, allocations: 312.9 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003488/0.3803, allocations: 2.071 MB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008832/0.3812, allocations: 309 kB / 1.371 GB, free: 5.695 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.3829, allocations: 0.8246 MB / 1.372 GB, free: 4.867 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.3846, allocations: 0.8863 MB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004453/0.385, allocations: 96 kB / 1.373 GB, free: 3.883 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009039/0.3859, allocations: 227.8 kB / 1.373 GB, free: 3.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005996/0.3865, allocations: 378.2 kB / 1.373 GB, free: 3.289 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.3881, allocations: 0.87 MB / 1.374 GB, free: 2.414 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003987/0.3921, allocations: 2.645 MB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3921, allocations: 0 / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3921, allocations: 7.938 kB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.277e-05/0.3922, allocations: 4 kB / 1.377 GB, free: 15.75 MB / 1.076 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.004275/0.3964, allocations: 2.403 MB / 1.379 GB, free: 13.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3965, allocations: 15.97 kB / 1.379 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.3966, allocations: 94.7 kB / 1.379 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.3969, allocations: 223.5 kB / 1.38 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.4, allocations: 1.658 MB / 1.381 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.4, allocations: 37 kB / 1.381 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.4001, allocations: 55.98 kB / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009017/0.401, allocations: 0.5529 MB / 1.382 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.401, allocations: 0 / 1.382 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.401, allocations: 16 kB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.401, allocations: 12 kB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007664/0.4018, allocations: 0.4957 MB / 1.382 GB, free: 10.06 MB / 1.076 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.004753/0.4066, allocations: 3.188 MB / 1.385 GB, free: 6.641 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.4067, allocations: 58.53 kB / 1.385 GB, free: 6.574 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.903e-05/0.4067, allocations: 44.88 kB / 1.385 GB, free: 6.527 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.4067, allocations: 4 kB / 1.385 GB, free: 6.523 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4068, allocations: 34.56 kB / 1.386 GB, free: 6.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.4068, allocations: 0 / 1.386 GB, free: 6.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0005922/0.4074, allocations: 376 kB / 1.386 GB, free: 6.105 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.4074, allocations: 51.41 kB / 1.386 GB, free: 6.043 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.4112, allocations: 2.931 MB / 1.389 GB, free: 3.098 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.4112, allocations: 25.7 kB / 1.389 GB, free: 3.066 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009074/0.4121, allocations: 0.9475 MB / 1.39 GB, free: 2.113 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.4121, allocations: 7.984 kB / 1.39 GB, free: 2.105 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.4123, allocations: 118 kB / 1.39 GB, free: 1.984 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4124, allocations: 329.9 kB / 1.39 GB, free: 1.656 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.4126, allocations: 152.9 kB / 1.39 GB, free: 1.508 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.4131, allocations: 468.6 kB / 1.391 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.4138, allocations: 0.6058 MB / 1.391 GB, free: 148 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.4138, allocations: 8 kB / 1.391 GB, free: 140 kB / 1.076 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001112/0.4149, allocations: 0.7737 MB / 1.392 GB, free: 15.36 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4149, allocations: 12.06 kB / 1.392 GB, free: 15.34 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4149, allocations: 12 kB / 1.392 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.415, allocations: 16 kB / 1.392 GB, free: 15.32 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.4153, allocations: 103.8 kB / 1.392 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.4153, allocations: 19.92 kB / 1.392 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.4159, allocations: 87.3 kB / 1.392 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.4159, allocations: 32 kB / 1.392 GB, free: 15.08 MB / 1.092 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.0008741/0.4168, allocations: 0.743 MB / 1.393 GB, free: 14.32 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.417, allocations: 222.5 kB / 1.393 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.4173, allocations: 223.7 kB / 1.394 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4173, allocations: 0 / 1.394 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4174, allocations: 0 / 1.394 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.4174, allocations: 0 / 1.394 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.4184, allocations: 0.9109 MB / 1.394 GB, free: 12.93 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4184, allocations: 4 kB / 1.394 GB, free: 12.92 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.4185, allocations: 8 kB / 1.394 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4185, allocations: 0 / 1.394 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4185, allocations: 0 / 1.394 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4185, allocations: 3.984 kB / 1.394 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4185, allocations: 0 / 1.394 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.4189, allocations: 438.2 kB / 1.395 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006079/0.4195, allocations: 302.5 kB / 1.395 GB, free: 12.17 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.4197, allocations: 4.031 kB / 1.395 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.42, allocations: 0 / 1.395 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.42, allocations: 4 kB / 1.395 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.42, allocations: 0 / 1.395 GB, free: 12.16 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002726/0.4228, allocations: 2.058 MB / 1.397 GB, free: 10.09 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4228, allocations: 0 / 1.397 GB, free: 10.09 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007947/0.4236, allocations: 247.8 kB / 1.397 GB, free: 9.852 MB / 1.092 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.001041/0.4246, allocations: 1.03 MB / 1.398 GB, free: 8.801 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005244/0.4251, allocations: 304.7 kB / 1.399 GB, free: 8.504 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4251, allocations: 0 / 1.399 GB, free: 8.504 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.4252, allocations: 37.59 kB / 1.399 GB, free: 8.469 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.4275, allocations: 0.7159 MB / 1.399 GB, free: 7.766 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/0.4496, allocations: 16.31 MB / 1.415 GB, free: 6.98 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.4512, allocations: 1.804 MB / 1.417 GB, free: 5.141 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008889/0.4521, allocations: 313.3 kB / 1.417 GB, free: 4.828 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008067/0.4529, allocations: 0.6828 MB / 1.418 GB, free: 4.145 MB / 1.107 GB Notification: Performance of SimCode: time 9.32e-07/0.4529, allocations: 0 / 1.418 GB, free: 4.145 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09286/0.5457, allocations: 44.55 MB / 1.462 GB, free: 8.113 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.16, allocations: 14.97 kB / 1.462 GB, free: 8.102 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.8400453038048]