Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001493/0.001493, allocations: 108.6 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.001342/0.001342, 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.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.91 kB / 1.104 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7845/0.7864, allocations: 168.7 MB / 1.269 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003038/0.7895, allocations: 1.406 MB / 1.27 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006102/0.7901, allocations: 207.5 kB / 1.27 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.7901, allocations: 0 / 1.27 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.7901, allocations: 7.922 kB / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.7902, allocations: 7.938 kB / 1.27 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.7904, allocations: 19.91 kB / 1.27 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.588e-05/0.7905, allocations: 23.92 kB / 1.27 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.7906, allocations: 4 kB / 1.27 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.976e-05/0.7906, allocations: 15.92 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.7907, allocations: 11.98 kB / 1.27 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.7907, allocations: 4 kB / 1.27 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.783e-05/0.7908, allocations: 27.98 kB / 1.27 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.7908, allocations: 7.938 kB / 1.27 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.7908, allocations: 7.984 kB / 1.27 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.791, allocations: 41.67 kB / 1.27 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.791, allocations: 3.984 kB / 1.27 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.791, allocations: 0 / 1.27 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.791, allocations: 0 / 1.27 GB, free: 3.395 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005101/0.7915, allocations: 341.5 kB / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7915, allocations: 12.03 kB / 1.271 GB, free: 3 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.7916, allocations: 30.75 kB / 1.271 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.7917, allocations: 8.891 kB / 1.271 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.7919, allocations: 168.3 kB / 1.271 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.7919, allocations: 4.312 kB / 1.271 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.7919, allocations: 4.375 kB / 1.271 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.7921, allocations: 46.23 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.7921, allocations: 7.938 kB / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.7921, allocations: 0 / 1.271 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7921, allocations: 4 kB / 1.271 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.7923, allocations: 31.95 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.7927, allocations: 244.9 kB / 1.271 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.7928, allocations: 46.47 kB / 1.271 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.675e-05/0.7929, allocations: 24.91 kB / 1.271 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.7929, allocations: 3.938 kB / 1.271 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.7929, allocations: 30.56 kB / 1.271 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.7929, allocations: 0 / 1.271 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003641/0.7933, allocations: 89.53 kB / 1.272 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.7933, allocations: 55.53 kB / 1.272 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.7934, allocations: 101.8 kB / 1.272 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.7935, allocations: 25.7 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.7935, allocations: 84.14 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.7935, allocations: 3.953 kB / 1.272 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.7936, allocations: 13.72 kB / 1.272 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7937, allocations: 318.8 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.7938, allocations: 15.98 kB / 1.272 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.057e-05/0.7939, allocations: 19.98 kB / 1.272 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.794, allocations: 36.81 kB / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.794, allocations: 3.938 kB / 1.272 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.7942, allocations: 69.67 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7942, allocations: 4 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7942, allocations: 7.984 kB / 1.272 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7943, allocations: 3.984 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.7943, allocations: 4 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.7943, allocations: 0 / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.7944, allocations: 7.984 kB / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.7944, allocations: 0 / 1.272 GB, free: 1.324 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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.604e-05/0.7945, allocations: 121.7 kB / 1.272 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.7945, allocations: 4.031 kB / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.7948, allocations: 76.77 kB / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7948, allocations: 7.875 kB / 1.272 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7948, allocations: 4 kB / 1.272 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.7948, allocations: 4 kB / 1.272 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.795, allocations: 169.5 kB / 1.273 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.795, allocations: 0 / 1.273 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.795, allocations: 12 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.795, allocations: 240 / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.7951, allocations: 0 / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7951, allocations: 0 / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.7951, allocations: 3.984 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.7954, allocations: 171.4 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.7954, allocations: 81.11 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.7954, allocations: 0 / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.7955, allocations: 7.984 kB / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.7956, allocations: 8 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.7956, allocations: 0 / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.661e-05/0.7956, allocations: 87.16 kB / 1.273 GB, free: 492 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.7956, allocations: 0 / 1.273 GB, free: 492 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002189/0.7958, allocations: 4 kB / 1.273 GB, free: 488 kB / 0.9669 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0006696/0.7965, allocations: 0.7051 MB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.7967, allocations: 35.95 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7967, allocations: 0 / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-05/0.7968, allocations: 23.98 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.7971, allocations: 8 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.7977, allocations: 152.1 kB / 1.274 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.798, allocations: 0.6768 MB / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.7981, allocations: 0 / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.7981, allocations: 19.44 kB / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.7981, allocations: 0 / 1.275 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.8234, allocations: 1.376 MB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/9.165, allocations: 8.594 kB / 1.276 GB, free: 13.53 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.110187076032162]