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.001773/0.001773, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002157/0.002157, allocations: 216.9 kB / 22.25 MB, free: 5.082 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 8.016 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.852/2.852, allocations: 476.7 MB / 0.7707 GB, free: 4.316 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_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.002063/0.002063, allocations: 70.62 kB / 1.117 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 170 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006909/0.3671, allocations: 4.55 MB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003432/0.3705, allocations: 2.722 MB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3706, allocations: 0 / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.3709, allocations: 43.69 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.3713, allocations: 107.3 kB / 1.291 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3727, allocations: 0.5005 MB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.373, allocations: 235.9 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.3731, allocations: 9.75 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.3743, allocations: 0.4939 MB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3744, allocations: 91.59 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3744, allocations: 8 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.3756, allocations: 0.5498 MB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.3757, allocations: 47.77 kB / 1.293 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.3757, allocations: 71.67 kB / 1.293 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.3764, allocations: 366.8 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3764, allocations: 0 / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3764, allocations: 4 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3764, allocations: 0 / 1.293 GB, free: 1.758 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.0008131/0.3772, allocations: 435.6 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3772, allocations: 12.03 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.054e-05/0.3773, allocations: 54.67 kB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.3775, allocations: 24.83 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.3778, allocations: 158.2 kB / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3778, allocations: 12.7 kB / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.3778, allocations: 20.38 kB / 1.294 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.3782, allocations: 252.9 kB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3782, allocations: 0 / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.3783, allocations: 12 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.3783, allocations: 4 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.3788, allocations: 455.4 kB / 1.294 GB, free: 268 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3799, allocations: 0.9679 MB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3802, allocations: 155 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.3803, allocations: 48.89 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007487/0.3811, allocations: 479.7 kB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.3811, allocations: 38.56 kB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.3811, allocations: 0 / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003418/0.3815, allocations: 149.4 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3815, allocations: 51.41 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3817, allocations: 172 kB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.3817, allocations: 33.69 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.3818, allocations: 140.1 kB / 1.296 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.3818, allocations: 59.52 kB / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/0.3819, allocations: 57.66 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.382, allocations: 326.8 kB / 1.297 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.846e-05/0.3821, allocations: 31.98 kB / 1.297 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3823, allocations: 154.4 kB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.3825, allocations: 189.5 kB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3825, allocations: 4 kB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00033/0.3829, allocations: 213.5 kB / 1.297 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3829, allocations: 12.09 kB / 1.297 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3829, allocations: 4 kB / 1.297 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3829, allocations: 7.938 kB / 1.297 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.3831, allocations: 55.91 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3831, allocations: 8 kB / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3832, allocations: 31.72 kB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3832, allocations: 12 kB / 1.298 GB, free: 12.63 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.0001399/0.3834, allocations: 145.6 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.3834, allocations: 15.91 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.3837, allocations: 150.9 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3837, allocations: 7.938 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3837, allocations: 0 / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.3837, allocations: 0 / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.384, allocations: 196.5 kB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.384, allocations: 0 / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.3841, allocations: 27.92 kB / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3841, allocations: 0 / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3841, allocations: 8 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3841, allocations: 3.938 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3841, allocations: 4 kB / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3843, allocations: 214.4 kB / 1.298 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.3844, allocations: 39.8 kB / 1.298 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3844, allocations: 0 / 1.298 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3846, allocations: 19.92 kB / 1.298 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.3847, allocations: 7.984 kB / 1.298 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.3847, allocations: 12 kB / 1.298 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.687e-05/0.3848, allocations: 123.9 kB / 1.299 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3848, allocations: 3.938 kB / 1.299 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003747/0.3852, allocations: 75.88 kB / 1.299 GB, free: 11.52 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.0007534/0.3859, allocations: 0.8332 MB / 1.299 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3862, allocations: 115.7 kB / 1.3 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3862, allocations: 0 / 1.3 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.371e-05/0.3862, allocations: 42.73 kB / 1.3 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.3867, allocations: 64.77 kB / 1.3 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.389, allocations: 2.042 MB / 1.302 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3893, allocations: 0.7128 MB / 1.302 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.3894, allocations: 45.75 kB / 1.302 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.3895, allocations: 47.42 kB / 1.302 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3895, allocations: 0 / 1.302 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.4241, allocations: 5.476 MB / 1.308 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 17.86 kB / 1.308 GB, free: 2.086 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: 18.48117108689621]