Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001474/0.001474, allocations: 111.1 kB / 16.46 MB, free: 6.504 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.001489/0.001489, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 59.91 kB / 1.056 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8619/0.8641, allocations: 160.7 MB / 1.213 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007652/0.8717, allocations: 4.452 MB / 1.217 GB, free: 244 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003514/0.8752, allocations: 2.7 MB / 1.22 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.8754, allocations: 1.156 kB / 1.22 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.8758, allocations: 55.95 kB / 1.22 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.8762, allocations: 96.33 kB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.8778, allocations: 0.4942 MB / 1.221 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.8783, allocations: 237.5 kB / 1.221 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.586e-05/0.8783, allocations: 14.83 kB / 1.221 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.8795, allocations: 412.1 kB / 1.221 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.8797, allocations: 94.41 kB / 1.221 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.8798, allocations: 6.719 kB / 1.221 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.8811, allocations: 0.5015 MB / 1.222 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.8811, allocations: 33.5 kB / 1.222 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.8813, allocations: 82.19 kB / 1.222 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009151/0.8822, allocations: 361.5 kB / 1.222 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8822, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8822, allocations: 1.062 kB / 1.222 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.8822, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9356 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.0009411/0.8832, allocations: 0.5 MB / 1.223 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8832, allocations: 9.625 kB / 1.223 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.534e-05/0.8833, allocations: 53.3 kB / 1.223 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.8835, allocations: 24.83 kB / 1.223 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.8838, allocations: 205 kB / 1.223 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.8839, allocations: 12.33 kB / 1.223 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.8839, allocations: 17.52 kB / 1.223 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.8843, allocations: 248.9 kB / 1.223 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8844, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.8844, allocations: 11.41 kB / 1.223 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.8844, allocations: 9.047 kB / 1.223 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.885, allocations: 429.4 kB / 1.224 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.8863, allocations: 1.016 MB / 1.225 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.8866, allocations: 146.3 kB / 1.225 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.8867, allocations: 62.06 kB / 1.225 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/0.8883, allocations: 1.83 MB / 1.227 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.8883, allocations: 40.97 kB / 1.227 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.8883, allocations: 0 / 1.227 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.000347/0.8887, allocations: 149.7 kB / 1.227 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.8887, allocations: 52.81 kB / 1.227 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.8889, allocations: 174.5 kB / 1.227 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.8889, allocations: 27.14 kB / 1.227 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.889, allocations: 148.5 kB / 1.227 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.8891, allocations: 58.19 kB / 1.227 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.8892, allocations: 52.95 kB / 1.227 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8893, allocations: 322.2 kB / 1.228 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.162e-05/0.8894, allocations: 38 kB / 1.228 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.8895, allocations: 148.9 kB / 1.228 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.8898, allocations: 202 kB / 1.228 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8898, allocations: 1.438 kB / 1.228 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003541/0.8902, allocations: 219.7 kB / 1.228 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.8902, allocations: 8.812 kB / 1.228 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8902, allocations: 2.875 kB / 1.228 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.8902, allocations: 9.125 kB / 1.228 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.8904, allocations: 53.03 kB / 1.228 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.8904, allocations: 5.469 kB / 1.228 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.8905, allocations: 24.66 kB / 1.228 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.8906, allocations: 15.56 kB / 1.228 GB, free: 6.781 MB / 0.9356 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.0001168/0.8907, allocations: 138.2 kB / 1.228 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.8907, allocations: 19.97 kB / 1.228 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.8911, allocations: 167.8 kB / 1.229 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.8911, allocations: 6.344 kB / 1.229 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.8911, allocations: 0 / 1.229 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.8911, allocations: 0 / 1.229 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.8914, allocations: 209.6 kB / 1.229 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8914, allocations: 1.438 kB / 1.229 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.8915, allocations: 22.81 kB / 1.229 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.8915, allocations: 9.25 kB / 1.229 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.8915, allocations: 5.422 kB / 1.229 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.8915, allocations: 3.938 kB / 1.229 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.8915, allocations: 1.438 kB / 1.229 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.8917, allocations: 216.2 kB / 1.229 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.8918, allocations: 109 kB / 1.229 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.8919, allocations: 5.312 kB / 1.229 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.8921, allocations: 20.05 kB / 1.229 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.8921, allocations: 17.52 kB / 1.229 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.8921, allocations: 9.297 kB / 1.229 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.971e-05/0.8922, allocations: 120.3 kB / 1.229 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8922, allocations: 0 / 1.229 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004246/0.8926, allocations: 76.69 kB / 1.229 GB, free: 5.836 MB / 0.9356 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.0008926/0.8935, allocations: 0.8337 MB / 1.23 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.8938, allocations: 111.6 kB / 1.23 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8938, allocations: 0.9375 kB / 1.23 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.8938, allocations: 41.73 kB / 1.23 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.8943, allocations: 64.09 kB / 1.23 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.8969, allocations: 2.036 MB / 1.232 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.8973, allocations: 0.7128 MB / 1.233 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.8975, allocations: 53.67 kB / 1.233 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.8976, allocations: 43.42 kB / 1.233 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of SimCode: time 6.81e-07/0.8976, allocations: 0 / 1.233 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.928, allocations: 5.212 MB / 1.238 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/9.158, allocations: 9.578 kB / 1.238 GB, free: 13.23 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.162642183247954]