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.001335/0.001335, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001425/0.001425, allocations: 218 kB / 23.03 MB, free: 4.945 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.112/3.112, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.001922/0.001922, allocations: 65.11 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3848, allocations: 179 MB / 1.345 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.009044/0.3939, allocations: 6.932 MB / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008199/0.4021, allocations: 4.904 MB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.4038, allocations: 75.44 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005069/0.4088, allocations: 1.609 MB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.4111, allocations: 0.6708 MB / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.4123, allocations: 314.2 kB / 1.36 GB, free: 1.297 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.4155, allocations: 2.063 MB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.4161, allocations: 305 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.4174, allocations: 0.8051 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.4187, allocations: 0.8979 MB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.4189, allocations: 92 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.4195, allocations: 231.7 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.4199, allocations: 366.3 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000796/0.4207, allocations: 0.6602 MB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002991/0.4237, allocations: 2.661 MB / 1.367 GB, free: 9.184 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4237, allocations: 0 / 1.367 GB, free: 9.184 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.991e-06/0.4237, allocations: 3.984 kB / 1.367 GB, free: 9.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.112e-05/0.4237, allocations: 0 / 1.367 GB, free: 9.18 MB / 1.061 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.003552/0.4273, allocations: 2.407 MB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4273, allocations: 8.031 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.074e-05/0.4274, allocations: 17.19 kB / 1.37 GB, free: 6.699 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.797e-05/0.4275, allocations: 90.7 kB / 1.37 GB, free: 6.602 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.4277, allocations: 223.5 kB / 1.37 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.4305, allocations: 1.65 MB / 1.372 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.4305, allocations: 41 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.167e-05/0.4306, allocations: 48 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008953/0.4315, allocations: 0.5529 MB / 1.372 GB, free: 4.023 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4315, allocations: 4 kB / 1.372 GB, free: 4.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.4315, allocations: 16 kB / 1.372 GB, free: 4.004 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4316, allocations: 8 kB / 1.372 GB, free: 3.996 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/0.4323, allocations: 0.5034 MB / 1.373 GB, free: 3.492 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.004233/0.4366, allocations: 2.515 MB / 1.375 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4367, allocations: 58.53 kB / 1.375 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.4367, allocations: 48.88 kB / 1.375 GB, free: 0.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.4368, allocations: 0 / 1.375 GB, free: 0.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4368, allocations: 34.5 kB / 1.375 GB, free: 0.707 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 3.838e-06/0.4368, allocations: 3.984 kB / 1.375 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0006092/0.4374, allocations: 372.1 kB / 1.376 GB, free: 340 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4374, allocations: 51.41 kB / 1.376 GB, free: 276 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/0.4413, allocations: 2.927 MB / 1.379 GB, free: 13.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.4413, allocations: 29.83 kB / 1.379 GB, free: 13.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009365/0.4423, allocations: 0.9473 MB / 1.38 GB, free: 12.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.4423, allocations: 11.94 kB / 1.38 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.4425, allocations: 114.1 kB / 1.38 GB, free: 12.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4426, allocations: 329.9 kB / 1.38 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.4428, allocations: 152.9 kB / 1.38 GB, free: 11.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.4434, allocations: 494.3 kB / 1.381 GB, free: 11.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007552/0.4441, allocations: 0.6059 MB / 1.381 GB, free: 10.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.4441, allocations: 8 kB / 1.381 GB, free: 10.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001288/0.4454, allocations: 0.7695 MB / 1.382 GB, free: 9.555 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.4454, allocations: 15.98 kB / 1.382 GB, free: 9.539 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4454, allocations: 8 kB / 1.382 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.4455, allocations: 19.94 kB / 1.382 GB, free: 9.512 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.4458, allocations: 103.8 kB / 1.382 GB, free: 9.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.101e-05/0.4458, allocations: 23.92 kB / 1.382 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/0.4465, allocations: 95.72 kB / 1.382 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.4466, allocations: 24 kB / 1.382 GB, free: 9.27 MB / 1.076 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.0009643/0.4476, allocations: 0.7392 MB / 1.383 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.4478, allocations: 210.6 kB / 1.383 GB, free: 8.312 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.4481, allocations: 227.7 kB / 1.383 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4481, allocations: 0 / 1.383 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4481, allocations: 0 / 1.383 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4481, allocations: 4 kB / 1.383 GB, free: 8.078 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4492, allocations: 0.8174 MB / 1.384 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4492, allocations: 7.938 kB / 1.384 GB, free: 7.211 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.4492, allocations: 3.938 kB / 1.384 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4492, allocations: 0 / 1.384 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.4492, allocations: 0 / 1.384 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4492, allocations: 0 / 1.384 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4492, allocations: 0 / 1.384 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.4497, allocations: 434.3 kB / 1.385 GB, free: 6.766 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.4502, allocations: 302.5 kB / 1.385 GB, free: 6.469 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.4504, allocations: 8.031 kB / 1.385 GB, free: 6.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.4507, allocations: 3.984 kB / 1.385 GB, free: 6.457 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.4507, allocations: 0 / 1.385 GB, free: 6.457 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.4507, allocations: 0 / 1.385 GB, free: 6.457 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002822/0.4536, allocations: 2.062 MB / 1.387 GB, free: 4.387 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4536, allocations: 0 / 1.387 GB, free: 4.387 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008577/0.4544, allocations: 247.8 kB / 1.387 GB, free: 4.145 MB / 1.076 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.001093/0.4555, allocations: 1.02 MB / 1.388 GB, free: 3.098 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.4561, allocations: 298.2 kB / 1.389 GB, free: 2.809 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4561, allocations: 8.062 kB / 1.389 GB, free: 2.801 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.4562, allocations: 39.95 kB / 1.389 GB, free: 2.762 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.4586, allocations: 0.7097 MB / 1.389 GB, free: 2.066 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02389/0.4825, allocations: 16.31 MB / 1.405 GB, free: 1.281 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.4838, allocations: 1.219 MB / 1.406 GB, free: 24 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009211/0.4847, allocations: 305.4 kB / 1.407 GB, free: 15.72 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007918/0.4855, allocations: 0.675 MB / 1.407 GB, free: 15.04 MB / 1.107 GB Notification: Performance of SimCode: time 8.12e-07/0.4855, allocations: 0 / 1.407 GB, free: 15.04 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08798/0.5735, allocations: 47.36 MB / 1.454 GB, free: 500 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/14.85, allocations: 6.125 kB / 1.454 GB, free: 496 kB / 1.139 GB " [Timeout remaining time 285] (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: 21.893068706034683]