Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001771/0.001771, allocations: 110.1 kB / 16.46 MB, free: 6.035 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.002334/0.002334, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.692/2.692, allocations: 443.5 MB / 0.7287 GB, free: 13.21 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 1.056 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8184, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01935/0.8377, allocations: 13.04 MB / 1.226 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003335/0.841, allocations: 2.673 MB / 1.228 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.8411, allocations: 1.375 kB / 1.228 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.8414, allocations: 46.98 kB / 1.228 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.8417, allocations: 96.78 kB / 1.228 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.843, allocations: 0.5127 MB / 1.229 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.8433, allocations: 244.1 kB / 1.229 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.8433, allocations: 7.031 kB / 1.229 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009616/0.8529, allocations: 3.585 MB / 1.233 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.8532, allocations: 95.59 kB / 1.233 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.8532, allocations: 8 kB / 1.233 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/0.8564, allocations: 1.081 MB / 1.234 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.8565, allocations: 43.83 kB / 1.234 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.8566, allocations: 79.64 kB / 1.234 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008961/0.8575, allocations: 378.7 kB / 1.234 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8575, allocations: 0 / 1.234 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8575, allocations: 4 kB / 1.234 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.8575, allocations: 0 / 1.234 GB, free: 2.258 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.0008945/0.8584, allocations: 0.4986 MB / 1.235 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8584, allocations: 12.62 kB / 1.235 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.886e-05/0.8585, allocations: 50.73 kB / 1.235 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.8587, allocations: 28.83 kB / 1.235 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.859, allocations: 216.1 kB / 1.235 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.8591, allocations: 20.64 kB / 1.235 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.8591, allocations: 12.38 kB / 1.235 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.8595, allocations: 248 kB / 1.235 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.8595, allocations: 4 kB / 1.235 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.8596, allocations: 4 kB / 1.235 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.8596, allocations: 11.98 kB / 1.235 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.8602, allocations: 435.4 kB / 1.236 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.8615, allocations: 0.9566 MB / 1.237 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.8619, allocations: 154.1 kB / 1.237 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.862, allocations: 56.88 kB / 1.237 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001978/0.864, allocations: 1.829 MB / 1.239 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.864, allocations: 42.5 kB / 1.239 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.864, allocations: 0 / 1.239 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0004356/0.8644, allocations: 152.2 kB / 1.239 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.8645, allocations: 51.41 kB / 1.239 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.8647, allocations: 176.6 kB / 1.239 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.8647, allocations: 29.7 kB / 1.239 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.8648, allocations: 144.1 kB / 1.239 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.8649, allocations: 55.53 kB / 1.239 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.865, allocations: 53.7 kB / 1.239 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.8651, allocations: 326.8 kB / 1.24 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.8652, allocations: 31.97 kB / 1.24 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.8654, allocations: 146.2 kB / 1.24 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.8656, allocations: 197.5 kB / 1.24 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.8657, allocations: 4 kB / 1.24 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003491/0.866, allocations: 212.6 kB / 1.24 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.866, allocations: 12.09 kB / 1.24 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.866, allocations: 4 kB / 1.24 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.8661, allocations: 7.938 kB / 1.24 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.8662, allocations: 55.91 kB / 1.24 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.8663, allocations: 8 kB / 1.24 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.8664, allocations: 31.72 kB / 1.24 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.8664, allocations: 12 kB / 1.24 GB, free: 11.3 MB / 0.9512 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.0001347/0.8665, allocations: 139.6 kB / 1.241 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.8666, allocations: 19.91 kB / 1.241 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.8669, allocations: 154.9 kB / 1.241 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.867, allocations: 11.88 kB / 1.241 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.867, allocations: 4 kB / 1.241 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.867, allocations: 0 / 1.241 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.8673, allocations: 213.6 kB / 1.241 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8673, allocations: 0 / 1.241 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.8674, allocations: 23.94 kB / 1.241 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8674, allocations: 0 / 1.241 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.8674, allocations: 11.98 kB / 1.241 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.8674, allocations: 3.938 kB / 1.241 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8674, allocations: 7.984 kB / 1.241 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.8677, allocations: 215.4 kB / 1.241 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.8678, allocations: 113 kB / 1.241 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.8678, allocations: 0 / 1.241 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.868, allocations: 19.92 kB / 1.241 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.8681, allocations: 7.984 kB / 1.241 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.8681, allocations: 12 kB / 1.241 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001032/0.8682, allocations: 124 kB / 1.241 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8682, allocations: 0 / 1.241 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004368/0.8686, allocations: 83.78 kB / 1.242 GB, free: 10.06 MB / 0.9512 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.0008554/0.8695, allocations: 0.8239 MB / 1.242 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.8697, allocations: 120.5 kB / 1.242 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8697, allocations: 4.125 kB / 1.242 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.8698, allocations: 47.91 kB / 1.242 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.8703, allocations: 51.89 kB / 1.243 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.8728, allocations: 2.054 MB / 1.245 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.8732, allocations: 0.7168 MB / 1.245 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.8734, allocations: 45.69 kB / 1.245 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.8735, allocations: 51.42 kB / 1.245 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.8735, allocations: 0 / 1.245 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.9034, allocations: 5.518 MB / 1.251 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/9.278, allocations: 11.78 kB / 1.251 GB, free: 0.5469 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.24567235307768]