Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001385/0.001385, allocations: 106.5 kB / 16.45 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.001491/0.001491, allocations: 191.8 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.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.61/2.61, allocations: 443.5 MB / 0.7287 GB, free: 13.2 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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 1.056 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8117/0.8137, allocations: 160.7 MB / 1.213 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002673/0.8163, allocations: 1.424 MB / 1.214 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004856/0.8168, allocations: 206.7 kB / 1.214 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.8168, allocations: 0 / 1.214 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.8169, allocations: 0.75 kB / 1.214 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.8169, allocations: 4.812 kB / 1.214 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.8171, allocations: 24.75 kB / 1.215 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.8172, allocations: 30.81 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/0.8173, allocations: 1.906 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.313e-05/0.8173, allocations: 16.2 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.552e-05/0.8173, allocations: 7.031 kB / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.8174, allocations: 6.375 kB / 1.215 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.8174, allocations: 27.75 kB / 1.215 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.8175, allocations: 3.938 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.8175, allocations: 7.312 kB / 1.215 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.8176, allocations: 43.28 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.8176, allocations: 0 / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8176, allocations: 0 / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.8176, allocations: 0 / 1.215 GB, free: 2.445 MB / 0.92 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.0004771/0.8181, allocations: 335.1 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.8181, allocations: 17.34 kB / 1.215 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.8182, allocations: 39.83 kB / 1.215 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.8183, allocations: 12.23 kB / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.8184, allocations: 161.2 kB / 1.215 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.8184, allocations: 1.219 kB / 1.215 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.8184, allocations: 1.219 kB / 1.215 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.8186, allocations: 53.86 kB / 1.215 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.8186, allocations: 7.922 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.8186, allocations: 1.125 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.8186, allocations: 4 kB / 1.215 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.8188, allocations: 34.92 kB / 1.215 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.8191, allocations: 245.9 kB / 1.216 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.8192, allocations: 41.83 kB / 1.216 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.8193, allocations: 26.25 kB / 1.216 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.8193, allocations: 1.125 kB / 1.216 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.8194, allocations: 31.62 kB / 1.216 GB, free: 1.371 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8194, allocations: 0 / 1.216 GB, free: 1.371 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003368/0.8197, allocations: 88.84 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.8198, allocations: 55.53 kB / 1.216 GB, free: 1.242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.8198, allocations: 98.81 kB / 1.216 GB, free: 1.141 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8199, allocations: 26.67 kB / 1.216 GB, free: 1.109 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.8199, allocations: 85.2 kB / 1.216 GB, free: 1.023 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.8199, allocations: 5.078 kB / 1.216 GB, free: 1.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.82, allocations: 11.91 kB / 1.216 GB, free: 1.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8201, allocations: 315.7 kB / 1.216 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.8202, allocations: 20.53 kB / 1.216 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.8202, allocations: 17.92 kB / 1.216 GB, free: 0.668 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.8204, allocations: 35.52 kB / 1.216 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.8204, allocations: 3.938 kB / 1.216 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.8206, allocations: 68.28 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.8206, allocations: 12.97 kB / 1.216 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8206, allocations: 0 / 1.216 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.8206, allocations: 0 / 1.216 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.8207, allocations: 9.797 kB / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8207, allocations: 1.156 kB / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.8208, allocations: 7.047 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.8208, allocations: 0.75 kB / 1.216 GB, free: 0.582 MB / 0.92 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 8.957e-05/0.8208, allocations: 119.9 kB / 1.217 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.8209, allocations: 9.438 kB / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.8211, allocations: 79.89 kB / 1.217 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.8211, allocations: 1.094 kB / 1.217 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8211, allocations: 0 / 1.217 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8211, allocations: 5.062 kB / 1.217 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.8213, allocations: 162.1 kB / 1.217 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8213, allocations: 4.938 kB / 1.217 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.8214, allocations: 14.52 kB / 1.217 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8214, allocations: 1.094 kB / 1.217 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.8214, allocations: 0 / 1.217 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.8214, allocations: 1.125 kB / 1.217 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8214, allocations: 0 / 1.217 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.8216, allocations: 173.3 kB / 1.217 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.8217, allocations: 82.22 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.8217, allocations: 5.391 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-05/0.8218, allocations: 3.031 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.8218, allocations: 6.078 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.8218, allocations: 9.047 kB / 1.217 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.8219, allocations: 78.56 kB / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8219, allocations: 0 / 1.217 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002182/0.8221, allocations: 4.844 kB / 1.217 GB, free: 15.82 MB / 0.9356 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.000562/0.8227, allocations: 0.7014 MB / 1.218 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.8229, allocations: 42.19 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8229, allocations: 0 / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/0.8229, allocations: 24.78 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.8232, allocations: 8.484 kB / 1.218 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.8237, allocations: 150.9 kB / 1.218 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.824, allocations: 0.6744 MB / 1.219 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.824, allocations: 1.438 kB / 1.219 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.824, allocations: 23.23 kB / 1.219 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.824, allocations: 0 / 1.219 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.8471, allocations: 1.373 MB / 1.22 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/9.022, allocations: 11.3 kB / 1.22 GB, free: 13.48 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.904394762124866]