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.00124/0.00124, allocations: 98.08 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.001369/0.001369, allocations: 212.2 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.072/3.072, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.002968/0.002968, allocations: 64.06 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3762, allocations: 179 MB / 1.345 GB, free: 372 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.00943/0.3856, allocations: 7.944 MB / 1.353 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00855/0.3942, allocations: 5.445 MB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.3959, allocations: 75.44 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004975/0.4009, allocations: 1.749 MB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.403, allocations: 0.6748 MB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009758/0.404, allocations: 311.4 kB / 1.361 GB, free: 96 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002829/0.4068, allocations: 2.063 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.4074, allocations: 301 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.4084, allocations: 0.8206 MB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.4096, allocations: 0.8864 MB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.4098, allocations: 92 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005412/0.4103, allocations: 235.7 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003542/0.4107, allocations: 374.3 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008351/0.4115, allocations: 0.8816 MB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.4144, allocations: 2.645 MB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4145, allocations: 8 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4145, allocations: 0 / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.424e-05/0.4145, allocations: 0 / 1.369 GB, free: 7.754 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.00376/0.4183, allocations: 2.415 MB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4183, allocations: 8.031 kB / 1.372 GB, free: 5.281 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.656e-05/0.4183, allocations: 13.19 kB / 1.372 GB, free: 5.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.4184, allocations: 94.66 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.4188, allocations: 227.5 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.4218, allocations: 1.638 MB / 1.374 GB, free: 3.242 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.4218, allocations: 40.94 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.4219, allocations: 52 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.4228, allocations: 0.5529 MB / 1.374 GB, free: 2.594 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4228, allocations: 0 / 1.374 GB, free: 2.594 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.4228, allocations: 20 kB / 1.374 GB, free: 2.574 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4228, allocations: 16 kB / 1.374 GB, free: 2.559 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007595/0.4236, allocations: 0.4957 MB / 1.375 GB, free: 2.062 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.004956/0.4285, allocations: 3.192 MB / 1.378 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4287, allocations: 54.53 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.4287, allocations: 52.88 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.4288, allocations: 4 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.4288, allocations: 30.56 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.4288, allocations: 0 / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0007025/0.4295, allocations: 368.1 kB / 1.378 GB, free: 14.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4295, allocations: 51.41 kB / 1.378 GB, free: 14.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003997/0.4335, allocations: 2.931 MB / 1.381 GB, free: 11.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.4336, allocations: 33.7 kB / 1.381 GB, free: 11.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009396/0.4345, allocations: 0.9474 MB / 1.382 GB, free: 10.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.4345, allocations: 8 kB / 1.382 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.4347, allocations: 114 kB / 1.382 GB, free: 9.984 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4349, allocations: 333.9 kB / 1.383 GB, free: 9.652 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.4351, allocations: 152.9 kB / 1.383 GB, free: 9.504 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.4356, allocations: 472.6 kB / 1.383 GB, free: 8.891 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007325/0.4364, allocations: 0.5981 MB / 1.384 GB, free: 8.145 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.4364, allocations: 4 kB / 1.384 GB, free: 8.141 MB / 1.076 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001253/0.4376, allocations: 0.7775 MB / 1.385 GB, free: 7.355 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4376, allocations: 12 kB / 1.385 GB, free: 7.344 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4377, allocations: 8 kB / 1.385 GB, free: 7.336 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.4377, allocations: 16 kB / 1.385 GB, free: 7.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.438, allocations: 99.84 kB / 1.385 GB, free: 7.223 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.4381, allocations: 27.86 kB / 1.385 GB, free: 7.195 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/0.4387, allocations: 91.55 kB / 1.385 GB, free: 7.105 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.4388, allocations: 32 kB / 1.385 GB, free: 7.074 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.000955/0.4397, allocations: 0.743 MB / 1.386 GB, free: 6.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.4399, allocations: 214.5 kB / 1.386 GB, free: 6.109 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.4403, allocations: 223.7 kB / 1.386 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4403, allocations: 0 / 1.386 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4403, allocations: 0 / 1.386 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4403, allocations: 4 kB / 1.386 GB, free: 5.879 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.4414, allocations: 0.9109 MB / 1.387 GB, free: 4.926 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.4414, allocations: 4 kB / 1.387 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.4414, allocations: 0 / 1.387 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4414, allocations: 0 / 1.387 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.4415, allocations: 0 / 1.387 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4415, allocations: 0 / 1.387 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4415, allocations: 0 / 1.387 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.4419, allocations: 446.2 kB / 1.387 GB, free: 4.469 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000625/0.4426, allocations: 298.5 kB / 1.388 GB, free: 4.176 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.4427, allocations: 0 / 1.388 GB, free: 4.176 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.443, allocations: 4 kB / 1.388 GB, free: 4.172 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.4431, allocations: 0 / 1.388 GB, free: 4.172 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.4431, allocations: 3.984 kB / 1.388 GB, free: 4.168 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002992/0.4461, allocations: 2.066 MB / 1.39 GB, free: 2.094 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4461, allocations: 0 / 1.39 GB, free: 2.094 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009473/0.447, allocations: 247.8 kB / 1.39 GB, free: 1.852 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.001128/0.4481, allocations: 1.023 MB / 1.391 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005282/0.4487, allocations: 298 kB / 1.391 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4487, allocations: 0 / 1.391 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.4487, allocations: 39.95 kB / 1.391 GB, free: 488 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.4512, allocations: 0.7149 MB / 1.392 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/0.4731, allocations: 16.31 MB / 1.408 GB, free: 14.98 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.4746, allocations: 1.804 MB / 1.41 GB, free: 13.14 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0008445/0.4754, allocations: 309.4 kB / 1.41 GB, free: 12.84 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000788/0.4762, allocations: 0.6789 MB / 1.411 GB, free: 12.16 MB / 1.108 GB Notification: Performance of SimCode: time 1.914e-06/0.4762, allocations: 0 / 1.411 GB, free: 12.16 MB / 1.108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08658/0.5628, allocations: 44.58 MB / 1.454 GB, free: 108 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.64, allocations: 18.22 kB / 1.454 GB, free: 96 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.5326040549553]