Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.0008906/0.0008906, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008319/0.0008319, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.86/0.86, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.642/1.642, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.981 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.937e-05, allocations: 6.281 kB / 0.981 GB, free: 1.402 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01116/0.01118, allocations: 11.96 MB / 0.9927 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.01292, allocations: 2.41 MB / 0.9951 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.01301, allocations: 0 / 0.9951 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.01325, allocations: 47.62 kB / 0.9951 GB, free: 2.914 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.01348, allocations: 95.3 kB / 0.9952 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.01442, allocations: 0.54 MB / 0.9957 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.01463, allocations: 243.7 kB / 0.9959 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.01467, allocations: 13.75 kB / 0.996 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.01932, allocations: 3.627 MB / 0.9995 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.01943, allocations: 75.78 kB / 0.9996 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.01946, allocations: 8 kB / 0.9996 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.0209, allocations: 1.048 MB / 1.001 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.947e-05/0.02096, allocations: 35.89 kB / 1.001 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.02102, allocations: 67.88 kB / 1.001 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.02144, allocations: 386.8 kB / 1.001 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.02144, allocations: 0 / 1.001 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.322e-06/0.02144, allocations: 0 / 1.001 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.02145, allocations: 4 kB / 1.001 GB, free: 12.78 MB / 0.9167 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.0005531/0.022, allocations: 441.4 kB / 1.002 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.02203, allocations: 12.03 kB / 1.002 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.02208, allocations: 54.73 kB / 1.002 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.569e-05/0.02217, allocations: 20.84 kB / 1.002 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.02238, allocations: 165.5 kB / 1.002 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.02239, allocations: 8.703 kB / 1.002 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.0224, allocations: 16.38 kB / 1.002 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.02273, allocations: 491.9 kB / 1.002 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.02274, allocations: 2.625 kB / 1.002 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.02276, allocations: 12 kB / 1.002 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.02278, allocations: 4 kB / 1.002 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.02308, allocations: 427.5 kB / 1.003 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.02382, allocations: 0.8125 MB / 1.003 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.02405, allocations: 164.8 kB / 1.004 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.02411, allocations: 48.84 kB / 1.004 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/0.02457, allocations: 467.8 kB / 1.004 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.02459, allocations: 42.5 kB / 1.004 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.02459, allocations: 4 kB / 1.004 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0002353/0.02482, allocations: 149.4 kB / 1.004 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.02485, allocations: 51.41 kB / 1.004 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.02495, allocations: 173.5 kB / 1.005 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.02496, allocations: 25.7 kB / 1.005 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.02502, allocations: 148.1 kB / 1.005 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.02505, allocations: 51.59 kB / 1.005 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.0251, allocations: 53.66 kB / 1.005 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.02517, allocations: 322.8 kB / 1.005 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.02522, allocations: 35.98 kB / 1.005 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.02531, allocations: 153.6 kB / 1.005 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.02546, allocations: 192.1 kB / 1.005 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02546, allocations: 3.938 kB / 1.005 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002044/0.02567, allocations: 229.4 kB / 1.006 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.02568, allocations: 11.94 kB / 1.006 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.02568, allocations: 4 kB / 1.006 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.0257, allocations: 4 kB / 1.006 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.0258, allocations: 55.92 kB / 1.006 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.02581, allocations: 11.97 kB / 1.006 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.02587, allocations: 27.84 kB / 1.006 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.02588, allocations: 11.94 kB / 1.006 GB, free: 7.566 MB / 0.9167 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 7.31e-05/0.02595, allocations: 133.8 kB / 1.006 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.02598, allocations: 31.84 kB / 1.006 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.02618, allocations: 157.9 kB / 1.006 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.02618, allocations: 4 kB / 1.006 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.02619, allocations: 0 / 1.006 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.02619, allocations: 0 / 1.006 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.02635, allocations: 176.7 kB / 1.006 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02635, allocations: 0 / 1.006 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.0264, allocations: 27.98 kB / 1.006 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.02641, allocations: 11.91 kB / 1.006 GB, free: 6.977 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.02642, allocations: 8 kB / 1.006 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.02642, allocations: 4 kB / 1.006 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.02642, allocations: 0 / 1.006 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.02658, allocations: 219.3 kB / 1.007 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.02662, allocations: 35.84 kB / 1.007 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.02664, allocations: 3.938 kB / 1.007 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.02673, allocations: 15.98 kB / 1.007 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.02675, allocations: 7.984 kB / 1.007 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.02677, allocations: 15.98 kB / 1.007 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.935e-05/0.02683, allocations: 122.3 kB / 1.007 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.02683, allocations: 0 / 1.007 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002635/0.02709, allocations: 83.83 kB / 1.007 GB, free: 6.457 MB / 0.9167 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.0005092/0.0276, allocations: 0.8409 MB / 1.008 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.02778, allocations: 114.5 kB / 1.008 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.02778, allocations: 4 kB / 1.008 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.02782, allocations: 43.86 kB / 1.008 GB, free: 5.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.0281, allocations: 60.77 kB / 1.008 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.02959, allocations: 2.01 MB / 1.01 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/0.02966, allocations: 106.7 kB / 1.01 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.02978, allocations: 53.72 kB / 1.01 GB, free: 3.016 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.02984, allocations: 52.48 kB / 1.01 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.02984, allocations: 0 / 1.01 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.04753, allocations: 6.47 MB / 1.016 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/6.621, allocations: 4.062 kB / 1.016 GB, free: 12.72 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.82104477006942]