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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 497.2 MB / 0.7811 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 73.45 kB / 1.134 GB, free: 33.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3274, allocations: 173.9 MB / 1.304 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.009815/0.3372, allocations: 7.895 MB / 1.312 GB, free: 9.379 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008422/0.3456, allocations: 5.387 MB / 1.317 GB, free: 3.973 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.3468, allocations: 59.69 kB / 1.317 GB, free: 3.914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004362/0.3512, allocations: 1.733 MB / 1.319 GB, free: 2.172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.3527, allocations: 0.6552 MB / 1.319 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008583/0.3536, allocations: 307.4 kB / 1.32 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.356, allocations: 2.052 MB / 1.322 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007014/0.3567, allocations: 0.5045 MB / 1.322 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009241/0.3576, allocations: 0.7816 MB / 1.323 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.3587, allocations: 0.8902 MB / 1.324 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.3588, allocations: 96 kB / 1.324 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.3593, allocations: 215.8 kB / 1.324 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.3597, allocations: 378.3 kB / 1.325 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008211/0.3605, allocations: 0.87 MB / 1.325 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.3635, allocations: 2.661 MB / 1.328 GB, free: 8.727 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.3635, allocations: 3.984 kB / 1.328 GB, free: 8.723 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3635, allocations: 4 kB / 1.328 GB, free: 8.719 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.552e-05/0.3635, allocations: 0 / 1.328 GB, free: 8.719 MB / 1.029 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.003998/0.3675, allocations: 2.471 MB / 1.33 GB, free: 6.176 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3675, allocations: 12.92 kB / 1.33 GB, free: 6.164 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.3677, allocations: 90.7 kB / 1.33 GB, free: 6.066 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.3679, allocations: 231.5 kB / 1.331 GB, free: 5.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.3709, allocations: 1.718 MB / 1.332 GB, free: 4.055 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.3709, allocations: 41 kB / 1.332 GB, free: 4.016 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.371, allocations: 48 kB / 1.332 GB, free: 3.969 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008846/0.3719, allocations: 0.5529 MB / 1.333 GB, free: 3.414 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.3719, allocations: 0 / 1.333 GB, free: 3.414 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.372, allocations: 27.94 kB / 1.333 GB, free: 3.387 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.372, allocations: 12 kB / 1.333 GB, free: 3.375 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007763/0.3728, allocations: 0.4995 MB / 1.334 GB, free: 2.871 MB / 1.029 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.004645/0.3774, allocations: 3.24 MB / 1.337 GB, free: 15.39 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3775, allocations: 58.55 kB / 1.337 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.3776, allocations: 48.86 kB / 1.337 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3776, allocations: 0 / 1.337 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.3776, allocations: 38.5 kB / 1.337 GB, free: 15.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3776, allocations: 0 / 1.337 GB, free: 15.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.00056/0.3782, allocations: 372.1 kB / 1.337 GB, free: 14.86 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.3782, allocations: 51.41 kB / 1.337 GB, free: 14.79 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/0.3821, allocations: 2.931 MB / 1.34 GB, free: 11.85 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.3822, allocations: 29.7 kB / 1.34 GB, free: 11.81 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.3832, allocations: 0.9396 MB / 1.341 GB, free: 10.87 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3832, allocations: 11.95 kB / 1.341 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3834, allocations: 122.1 kB / 1.341 GB, free: 10.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3836, allocations: 329.9 kB / 1.341 GB, free: 10.4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3838, allocations: 149 kB / 1.342 GB, free: 10.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.3843, allocations: 477.2 kB / 1.342 GB, free: 9.637 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.3849, allocations: 0.6019 MB / 1.343 GB, free: 8.887 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3849, allocations: 4 kB / 1.343 GB, free: 8.883 MB / 1.045 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001085/0.386, allocations: 0.7813 MB / 1.343 GB, free: 8.094 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.386, allocations: 9.562 kB / 1.343 GB, free: 8.086 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.386, allocations: 12 kB / 1.343 GB, free: 8.074 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.3861, allocations: 20 kB / 1.343 GB, free: 8.055 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.3864, allocations: 103.8 kB / 1.344 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/0.3864, allocations: 15.94 kB / 1.344 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.3869, allocations: 99.55 kB / 1.344 GB, free: 7.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.387, allocations: 28 kB / 1.344 GB, free: 7.812 MB / 1.045 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.0008321/0.3878, allocations: 0.7314 MB / 1.344 GB, free: 7.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.388, allocations: 218.6 kB / 1.345 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.3883, allocations: 219.8 kB / 1.345 GB, free: 6.637 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3883, allocations: 0 / 1.345 GB, free: 6.637 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3883, allocations: 0 / 1.345 GB, free: 6.637 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3883, allocations: 4 kB / 1.345 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.3894, allocations: 0.9469 MB / 1.346 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3894, allocations: 3.938 kB / 1.346 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.3895, allocations: 0 / 1.346 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3895, allocations: 4 kB / 1.346 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3895, allocations: 0 / 1.346 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3895, allocations: 0 / 1.346 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3895, allocations: 0 / 1.346 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.3899, allocations: 434.3 kB / 1.346 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/0.3906, allocations: 367.6 kB / 1.347 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.3908, allocations: 4 kB / 1.347 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.3911, allocations: 3.984 kB / 1.347 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.3911, allocations: 4 kB / 1.347 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3911, allocations: 3.938 kB / 1.347 GB, free: 4.793 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002738/0.3938, allocations: 2.062 MB / 1.349 GB, free: 2.723 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3938, allocations: 0 / 1.349 GB, free: 2.723 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007042/0.3945, allocations: 239.9 kB / 1.349 GB, free: 2.488 MB / 1.045 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.001065/0.3956, allocations: 1.029 MB / 1.35 GB, free: 1.434 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.3961, allocations: 297.7 kB / 1.35 GB, free: 1.145 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3961, allocations: 0 / 1.35 GB, free: 1.145 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.472e-05/0.3961, allocations: 44.58 kB / 1.35 GB, free: 1.102 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.3984, allocations: 0.7199 MB / 1.351 GB, free: 408 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/0.4208, allocations: 16.3 MB / 1.367 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.4224, allocations: 1.804 MB / 1.369 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008966/0.4233, allocations: 309.3 kB / 1.369 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/0.4241, allocations: 0.6828 MB / 1.369 GB, free: 12.79 MB / 1.076 GB Notification: Performance of SimCode: time 1.212e-06/0.4241, allocations: 0 / 1.369 GB, free: 12.79 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08835/0.5125, allocations: 44.2 MB / 1.413 GB, free: 1.188 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.99, allocations: 2.5 kB / 1.413 GB, free: 1.188 MB / 1.107 GB " [Timeout remaining time 288] (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_2/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: 18.414697125088423]