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.001331/0.001331, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001401/0.001401, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.864/2.864, allocations: 476.8 MB / 0.7715 GB, free: 3.852 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.001978/0.001978, allocations: 66.86 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 170 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006666/0.3882, allocations: 4.234 MB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.3913, allocations: 2.43 MB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.3914, allocations: 8 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.3917, allocations: 43.69 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.392, allocations: 99.34 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3932, allocations: 0.5099 MB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.3935, allocations: 243.9 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.3936, allocations: 5.75 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.3947, allocations: 490.1 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.3949, allocations: 99.59 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.3949, allocations: 15.92 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3959, allocations: 487.1 kB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.396, allocations: 35.89 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.459e-05/0.3961, allocations: 71.7 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.3966, allocations: 346.9 kB / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3966, allocations: 0 / 1.293 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3966, allocations: 4 kB / 1.293 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.3966, allocations: 0 / 1.293 GB, free: 1.473 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.0008061/0.3975, allocations: 441.4 kB / 1.293 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3975, allocations: 8.031 kB / 1.293 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.972e-05/0.3975, allocations: 4.516 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.3976, allocations: 58.73 kB / 1.293 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.3977, allocations: 20.84 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.398, allocations: 154.2 kB / 1.294 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.398, allocations: 20.69 kB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3981, allocations: 20.12 kB / 1.294 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.3986, allocations: 454.6 kB / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3986, allocations: 0 / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.3986, allocations: 12 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.3986, allocations: 8 kB / 1.294 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.3992, allocations: 443.5 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.4003, allocations: 0.8674 MB / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.4006, allocations: 144.3 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4007, allocations: 56.88 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/0.4015, allocations: 455.8 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.4016, allocations: 38.55 kB / 1.296 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.4016, allocations: 0 / 1.296 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.000362/0.4019, allocations: 153.5 kB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.402, allocations: 55.34 kB / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4022, allocations: 171.3 kB / 1.296 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.4022, allocations: 25.7 kB / 1.296 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4023, allocations: 148 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.4023, allocations: 59.52 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.4024, allocations: 57.59 kB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4026, allocations: 322.8 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.4026, allocations: 31.98 kB / 1.297 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.4028, allocations: 151.4 kB / 1.297 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.4031, allocations: 195.7 kB / 1.297 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4031, allocations: 0 / 1.297 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003723/0.4035, allocations: 213.5 kB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4035, allocations: 12.09 kB / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4035, allocations: 7.984 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4035, allocations: 15.81 kB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.4037, allocations: 51.92 kB / 1.298 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4037, allocations: 7.984 kB / 1.298 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.4038, allocations: 27.78 kB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.4039, allocations: 16 kB / 1.298 GB, free: 12.23 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.0001365/0.404, allocations: 131.5 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.404, allocations: 19.91 kB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.4044, allocations: 170.1 kB / 1.298 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.4044, allocations: 7.984 kB / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4044, allocations: 0 / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4044, allocations: 0 / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.4047, allocations: 176.6 kB / 1.298 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4047, allocations: 0 / 1.298 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.4048, allocations: 31.98 kB / 1.298 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4048, allocations: 0 / 1.298 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.4048, allocations: 11.92 kB / 1.298 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4048, allocations: 0 / 1.298 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4048, allocations: 0 / 1.298 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.4051, allocations: 219.4 kB / 1.298 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.4052, allocations: 35.81 kB / 1.298 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.4052, allocations: 7.938 kB / 1.298 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.4054, allocations: 15.98 kB / 1.299 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.4055, allocations: 19.91 kB / 1.299 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4055, allocations: 8 kB / 1.299 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001112/0.4056, allocations: 116 kB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4056, allocations: 0 / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004265/0.406, allocations: 79.86 kB / 1.299 GB, free: 11.13 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.0008147/0.4068, allocations: 0.8409 MB / 1.3 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.4071, allocations: 118.7 kB / 1.3 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4071, allocations: 0 / 1.3 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.4072, allocations: 44.84 kB / 1.3 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.4076, allocations: 47.95 kB / 1.3 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.4101, allocations: 2.035 MB / 1.302 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.4103, allocations: 107.2 kB / 1.302 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.4104, allocations: 45.73 kB / 1.302 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.206e-05/0.4105, allocations: 43.42 kB / 1.302 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.4105, allocations: 7.938 kB / 1.302 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.4392, allocations: 5.713 MB / 1.308 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.25, allocations: 10.45 kB / 1.308 GB, free: 2.141 MB / 0.9981 GB " [Timeout remaining time 288] (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: 19.201952495030127]