Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001607/0.001607, allocations: 101.5 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.002005/0.002005, allocations: 219.1 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 476.7 MB / 0.7715 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.002078/0.002078, allocations: 64.95 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3455, allocations: 169.9 MB / 1.284 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006434/0.3519, allocations: 4.544 MB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00325/0.3552, allocations: 2.726 MB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3553, allocations: 0 / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.3556, allocations: 51.67 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3559, allocations: 99.36 kB / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3572, allocations: 0.5044 MB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.3575, allocations: 244 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.3575, allocations: 5.75 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.3586, allocations: 498.7 kB / 1.293 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3588, allocations: 91.66 kB / 1.293 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3588, allocations: 8 kB / 1.293 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.3599, allocations: 0.5536 MB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.36, allocations: 39.78 kB / 1.293 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.3601, allocations: 83.64 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.3607, allocations: 354.9 kB / 1.294 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3607, allocations: 3.938 kB / 1.294 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3607, allocations: 0 / 1.294 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3607, allocations: 4 kB / 1.294 GB, free: 1.84 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008264/0.3615, allocations: 441.4 kB / 1.294 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3616, allocations: 12.03 kB / 1.294 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.583e-05/0.3616, allocations: 4.516 kB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.3616, allocations: 54.67 kB / 1.294 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3618, allocations: 28.78 kB / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.3621, allocations: 154.3 kB / 1.294 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3621, allocations: 16.69 kB / 1.294 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.3621, allocations: 20.12 kB / 1.294 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.3625, allocations: 249 kB / 1.295 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3625, allocations: 3.938 kB / 1.295 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.3625, allocations: 8 kB / 1.295 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.3626, allocations: 4 kB / 1.295 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.3631, allocations: 447.5 kB / 1.295 GB, free: 348 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.3643, allocations: 0.9873 MB / 1.296 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.3646, allocations: 143 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3647, allocations: 56.88 kB / 1.296 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/0.3654, allocations: 463.9 kB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3655, allocations: 46.5 kB / 1.297 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.3655, allocations: 0 / 1.297 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003459/0.3658, allocations: 143.9 kB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3659, allocations: 59.34 kB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.366, allocations: 167.2 kB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3661, allocations: 29.7 kB / 1.297 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3662, allocations: 152 kB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.3662, allocations: 51.53 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/0.3663, allocations: 57.66 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3665, allocations: 322.8 kB / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.3665, allocations: 35.97 kB / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.3667, allocations: 143.5 kB / 1.298 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.367, allocations: 198.9 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.367, allocations: 0 / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003657/0.3673, allocations: 221.6 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3674, allocations: 6.188 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3674, allocations: 4 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3674, allocations: 11.94 kB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3676, allocations: 51.92 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.3676, allocations: 11.92 kB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3677, allocations: 19.84 kB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.3677, allocations: 16 kB / 1.298 GB, free: 12.71 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001266/0.3679, allocations: 137.6 kB / 1.298 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.3679, allocations: 19.94 kB / 1.299 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.3682, allocations: 166.4 kB / 1.299 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.3682, allocations: 3.984 kB / 1.299 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3682, allocations: 0 / 1.299 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3682, allocations: 0 / 1.299 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3685, allocations: 192.5 kB / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3685, allocations: 3.984 kB / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.3686, allocations: 27.92 kB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3686, allocations: 4 kB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3686, allocations: 7.938 kB / 1.299 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3686, allocations: 4 kB / 1.299 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3686, allocations: 0 / 1.299 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.3689, allocations: 219.4 kB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.369, allocations: 31.81 kB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.369, allocations: 7.938 kB / 1.299 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.3692, allocations: 11.98 kB / 1.299 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.3692, allocations: 15.92 kB / 1.299 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.3693, allocations: 19.98 kB / 1.299 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.246e-05/0.3694, allocations: 116 kB / 1.299 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3694, allocations: 0 / 1.299 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003987/0.3698, allocations: 75.88 kB / 1.299 GB, free: 11.59 MB / 0.9981 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007816/0.3705, allocations: 0.8292 MB / 1.3 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.3708, allocations: 118.5 kB / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3708, allocations: 0 / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.285e-05/0.3709, allocations: 43.91 kB / 1.3 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.3713, allocations: 62.59 kB / 1.3 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.3739, allocations: 2.042 MB / 1.302 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.3742, allocations: 0.7128 MB / 1.303 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000166/0.3744, allocations: 57.66 kB / 1.303 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.3745, allocations: 43.42 kB / 1.303 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of SimCode: time 4.7e-07/0.3745, allocations: 0 / 1.303 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.4018, allocations: 5.518 MB / 1.309 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.89, allocations: 6.688 kB / 1.309 GB, free: 2.137 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.75362899596803]