Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001289/0.001289, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001387/0.001387, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.392/1.392, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.048/3.048, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.001922/0.001922, allocations: 63.89 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3025, allocations: 176.1 MB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007108/0.3096, allocations: 4.512 MB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.3129, allocations: 2.714 MB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.313, allocations: 4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.3133, allocations: 43.69 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.3136, allocations: 103.3 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3149, allocations: 0.4967 MB / 1.329 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.3152, allocations: 235.9 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.3152, allocations: 13.55 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009692/0.3162, allocations: 423 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3163, allocations: 95.59 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.3163, allocations: 8 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.3174, allocations: 0.4991 MB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.3175, allocations: 39.83 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.3176, allocations: 79.66 kB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006015/0.3182, allocations: 358.8 kB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3182, allocations: 3.984 kB / 1.33 GB, free: 9.641 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3182, allocations: 0 / 1.33 GB, free: 9.641 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.3182, allocations: 0 / 1.33 GB, free: 9.641 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008746/0.3191, allocations: 0.5025 MB / 1.331 GB, free: 9.086 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3191, allocations: 15.98 kB / 1.331 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.3192, allocations: 50.67 kB / 1.331 GB, free: 9.012 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3194, allocations: 20.84 kB / 1.331 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.3197, allocations: 224.1 kB / 1.331 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3197, allocations: 8.703 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3198, allocations: 16.38 kB / 1.331 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.3202, allocations: 252.8 kB / 1.331 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3202, allocations: 0 / 1.331 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.3202, allocations: 15.94 kB / 1.331 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.3202, allocations: 4 kB / 1.331 GB, free: 8.422 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.3208, allocations: 431.4 kB / 1.332 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.322, allocations: 1.012 MB / 1.333 GB, free: 6.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.3223, allocations: 151.7 kB / 1.333 GB, free: 6.738 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3224, allocations: 56.88 kB / 1.333 GB, free: 6.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.3241, allocations: 1.825 MB / 1.335 GB, free: 4.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3241, allocations: 38.44 kB / 1.335 GB, free: 4.449 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.3241, allocations: 0 / 1.335 GB, free: 4.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003559/0.3245, allocations: 149.5 kB / 1.335 GB, free: 4.297 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3245, allocations: 51.41 kB / 1.335 GB, free: 4.234 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3247, allocations: 171.9 kB / 1.335 GB, free: 4.051 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.3247, allocations: 29.7 kB / 1.335 GB, free: 4.016 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.7e-05/0.3248, allocations: 152.1 kB / 1.335 GB, free: 3.863 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.3248, allocations: 51.53 kB / 1.335 GB, free: 3.812 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.3249, allocations: 53.66 kB / 1.335 GB, free: 3.754 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3251, allocations: 322.8 kB / 1.336 GB, free: 3.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.3251, allocations: 39.97 kB / 1.336 GB, free: 3.391 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.3253, allocations: 141.7 kB / 1.336 GB, free: 3.203 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3256, allocations: 196.2 kB / 1.336 GB, free: 2.965 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3256, allocations: 0 / 1.336 GB, free: 2.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003516/0.3259, allocations: 221.3 kB / 1.336 GB, free: 2.742 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3259, allocations: 8 kB / 1.336 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3259, allocations: 4 kB / 1.336 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.326, allocations: 7.938 kB / 1.336 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.3262, allocations: 47.92 kB / 1.336 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.3262, allocations: 7.984 kB / 1.336 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3263, allocations: 31.84 kB / 1.336 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.3263, allocations: 12 kB / 1.336 GB, free: 2.625 MB / 1.029 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.0001228/0.3264, allocations: 136.9 kB / 1.336 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.3265, allocations: 19.91 kB / 1.336 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.3268, allocations: 157 kB / 1.337 GB, free: 2.309 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3268, allocations: 7.938 kB / 1.337 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3268, allocations: 0 / 1.337 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3268, allocations: 0 / 1.337 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3271, allocations: 221.4 kB / 1.337 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3271, allocations: 0 / 1.337 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.3272, allocations: 27.98 kB / 1.337 GB, free: 2.008 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3272, allocations: 4 kB / 1.337 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.3272, allocations: 3.938 kB / 1.337 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3272, allocations: 7.938 kB / 1.337 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3272, allocations: 3.984 kB / 1.337 GB, free: 1.988 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3275, allocations: 215.4 kB / 1.337 GB, free: 1.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3276, allocations: 108.9 kB / 1.337 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3276, allocations: 0 / 1.337 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3279, allocations: 27.86 kB / 1.337 GB, free: 1.609 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.3279, allocations: 11.98 kB / 1.337 GB, free: 1.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.3279, allocations: 11.98 kB / 1.337 GB, free: 1.586 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001021/0.328, allocations: 120 kB / 1.337 GB, free: 1.469 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.328, allocations: 0 / 1.337 GB, free: 1.469 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003955/0.3284, allocations: 75.88 kB / 1.337 GB, free: 1.395 MB / 1.029 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.0008612/0.3293, allocations: 0.8316 MB / 1.338 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.3295, allocations: 115.7 kB / 1.338 GB, free: 436 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3295, allocations: 4.922 kB / 1.338 GB, free: 432 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.167e-05/0.3296, allocations: 43.92 kB / 1.338 GB, free: 388 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.3301, allocations: 65.7 kB / 1.338 GB, free: 324 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.3327, allocations: 2.044 MB / 1.34 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.3332, allocations: 0.7167 MB / 1.341 GB, free: 13.36 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.3333, allocations: 49.67 kB / 1.341 GB, free: 13.31 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.3334, allocations: 47.42 kB / 1.341 GB, free: 13.27 MB / 1.045 GB Notification: Performance of SimCode: time 9.02e-07/0.3334, allocations: 0 / 1.341 GB, free: 13.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.3623, allocations: 5.254 MB / 1.346 GB, free: 8.145 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.184, allocations: 11.09 kB / 1.346 GB, free: 8.137 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.419203683035448]