Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001405/0.001405, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001418/0.001418, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.437/1.437, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.91 kB / 1.134 GB, free: 13.13 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9882/0.9902, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01147/1.002, allocations: 13.02 MB / 1.317 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002041/1.004, allocations: 2.682 MB / 1.319 GB, free: 21.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.643e-05/1.004, allocations: 0 / 1.319 GB, free: 21.26 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002822/1.004, allocations: 45.41 kB / 1.319 GB, free: 21.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/1.004, allocations: 100.4 kB / 1.319 GB, free: 21.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/1.005, allocations: 0.5084 MB / 1.32 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00024/1.006, allocations: 231 kB / 1.32 GB, free: 20.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/1.006, allocations: 6.469 kB / 1.32 GB, free: 20.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00778/1.013, allocations: 3.595 MB / 1.324 GB, free: 19.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/1.014, allocations: 90.58 kB / 1.324 GB, free: 19.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/1.014, allocations: 12.19 kB / 1.324 GB, free: 19.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/1.016, allocations: 1.094 MB / 1.325 GB, free: 18.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/1.016, allocations: 42.06 kB / 1.325 GB, free: 18.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.789e-05/1.016, allocations: 78.56 kB / 1.325 GB, free: 18.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007062/1.017, allocations: 368.9 kB / 1.325 GB, free: 18.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.017, allocations: 10.34 kB / 1.325 GB, free: 18.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/1.017, allocations: 0 / 1.325 GB, free: 18.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.017, allocations: 0 / 1.325 GB, free: 18.72 MB / 1.061 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.0006505/1.018, allocations: 0.4977 MB / 1.326 GB, free: 18.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.018, allocations: 8.25 kB / 1.326 GB, free: 18.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/1.018, allocations: 56.31 kB / 1.326 GB, free: 18.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/1.018, allocations: 19.59 kB / 1.326 GB, free: 18.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/1.018, allocations: 217.8 kB / 1.326 GB, free: 18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.018, allocations: 14.05 kB / 1.326 GB, free: 17.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/1.018, allocations: 15.81 kB / 1.326 GB, free: 17.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/1.019, allocations: 254.6 kB / 1.326 GB, free: 17.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.019, allocations: 3.938 kB / 1.326 GB, free: 17.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/1.019, allocations: 6.906 kB / 1.326 GB, free: 17.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/1.019, allocations: 4.844 kB / 1.326 GB, free: 17.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/1.019, allocations: 431.2 kB / 1.327 GB, free: 17.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009248/1.02, allocations: 0.9605 MB / 1.328 GB, free: 16.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/1.02, allocations: 152.6 kB / 1.328 GB, free: 16.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.692e-05/1.02, allocations: 54.55 kB / 1.328 GB, free: 16.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/1.021, allocations: 1.841 MB / 1.33 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.021, allocations: 41.75 kB / 1.33 GB, free: 14.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/1.021, allocations: 0 / 1.33 GB, free: 14.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003583/1.022, allocations: 151.4 kB / 1.33 GB, free: 14.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/1.022, allocations: 54 kB / 1.33 GB, free: 14.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/1.022, allocations: 169.8 kB / 1.33 GB, free: 14.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.022, allocations: 26.95 kB / 1.33 GB, free: 14.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/1.022, allocations: 142.7 kB / 1.33 GB, free: 14.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/1.022, allocations: 53.27 kB / 1.33 GB, free: 14.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/1.022, allocations: 56.53 kB / 1.33 GB, free: 14.22 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/1.022, allocations: 329.2 kB / 1.331 GB, free: 13.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/1.022, allocations: 35.55 kB / 1.331 GB, free: 13.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/1.022, allocations: 142.1 kB / 1.331 GB, free: 13.74 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/1.023, allocations: 200 kB / 1.331 GB, free: 13.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.023, allocations: 1.062 kB / 1.331 GB, free: 13.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00035/1.023, allocations: 208.8 kB / 1.331 GB, free: 13.47 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.023, allocations: 7.094 kB / 1.331 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.023, allocations: 7.688 kB / 1.331 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/1.023, allocations: 12.56 kB / 1.331 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.023, allocations: 56.02 kB / 1.331 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.023, allocations: 8.047 kB / 1.331 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/1.023, allocations: 28.34 kB / 1.331 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/1.023, allocations: 11.34 kB / 1.331 GB, free: 13.43 MB / 1.061 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 9.055e-05/1.023, allocations: 138.2 kB / 1.332 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/1.023, allocations: 16.09 kB / 1.332 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/1.024, allocations: 160.5 kB / 1.332 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.024, allocations: 6.688 kB / 1.332 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.024, allocations: 0 / 1.332 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.024, allocations: 1.062 kB / 1.332 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/1.024, allocations: 214.2 kB / 1.332 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.024, allocations: 1.031 kB / 1.332 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/1.024, allocations: 22.23 kB / 1.332 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.024, allocations: 0.5625 kB / 1.332 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/1.024, allocations: 9.109 kB / 1.332 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/1.024, allocations: 5.312 kB / 1.332 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.024, allocations: 7.938 kB / 1.332 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/1.024, allocations: 232.3 kB / 1.332 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/1.024, allocations: 111.2 kB / 1.332 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/1.024, allocations: 1.875 kB / 1.332 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/1.025, allocations: 21.48 kB / 1.332 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/1.025, allocations: 7.703 kB / 1.332 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/1.025, allocations: 10.84 kB / 1.332 GB, free: 12.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.629e-05/1.025, allocations: 127.2 kB / 1.332 GB, free: 12.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.025, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004098/1.025, allocations: 81.05 kB / 1.333 GB, free: 12.55 MB / 1.061 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.0006206/1.026, allocations: 0.8317 MB / 1.333 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002424/1.026, allocations: 116.9 kB / 1.333 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.026, allocations: 1.219 kB / 1.333 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/1.026, allocations: 48.44 kB / 1.334 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/1.027, allocations: 46.08 kB / 1.334 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/1.029, allocations: 2.05 MB / 1.336 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/1.029, allocations: 0.7149 MB / 1.336 GB, free: 9.371 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001658/1.029, allocations: 49.83 kB / 1.336 GB, free: 9.344 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.929e-05/1.029, allocations: 45.31 kB / 1.336 GB, free: 9.316 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.029, allocations: 4 kB / 1.336 GB, free: 9.312 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/1.061, allocations: 5.507 MB / 1.342 GB, free: 8.555 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/9.359, allocations: 8.203 kB / 1.342 GB, free: 8.551 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.60180538892746]