Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001948/0.001948, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002092/0.002092, allocations: 216.9 kB / 22.26 MB, free: 5.082 MB / 14.72 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 1.501/1.501, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.386/3.386, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 62.06 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4331, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003274/0.4364, allocations: 1.444 MB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007413/0.4371, allocations: 219.7 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.4372, allocations: 0 / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.4372, allocations: 3.938 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.4373, allocations: 0 / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.4376, allocations: 39.77 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.4377, allocations: 19.94 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.4379, allocations: 11.98 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.4379, allocations: 11.94 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.438, allocations: 15.92 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.438, allocations: 0 / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.4382, allocations: 27.98 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.4382, allocations: 7.984 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.4382, allocations: 15.92 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.4384, allocations: 31.84 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4384, allocations: 4 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4384, allocations: 0 / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.4384, allocations: 0 / 1.328 GB, free: 128 kB / 1.014 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.0006228/0.439, allocations: 270.3 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.4391, allocations: 8.031 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.4392, allocations: 34.75 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.4394, allocations: 8.922 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.4396, allocations: 118.4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.4396, allocations: 384 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.4396, allocations: 384 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.4399, allocations: 54.23 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4399, allocations: 3.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4399, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4399, allocations: 4 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.4401, allocations: 31.95 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.4406, allocations: 220 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4408, allocations: 46.5 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.441, allocations: 28.83 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.441, allocations: 0 / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.441, allocations: 30.56 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.441, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0005497/0.4416, allocations: 85.58 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.4417, allocations: 55.41 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4418, allocations: 97.84 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4418, allocations: 29.7 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.4419, allocations: 84.14 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.4419, allocations: 7.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.4419, allocations: 17.66 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4421, allocations: 319 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.4422, allocations: 11.98 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.4424, allocations: 23.97 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.4426, allocations: 32.83 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.4426, allocations: 3.938 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003123/0.4429, allocations: 77.61 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4429, allocations: 7.938 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4429, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4429, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4431, allocations: 7.984 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4431, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.487e-05/0.4431, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4431, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 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 0.0001148/0.4433, allocations: 122.3 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.4433, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.4437, allocations: 72.97 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.4437, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4437, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4437, allocations: 3.938 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.4439, allocations: 140.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4439, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.444, allocations: 15.98 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.444, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.444, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.444, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.444, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.4444, allocations: 171.5 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.4444, allocations: 7.891 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.4445, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.4446, allocations: 7.984 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.4447, allocations: 8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4447, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.4447, allocations: 83.27 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4447, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000403/0.4451, allocations: 7.938 kB / 1.33 GB, free: 13.52 MB / 1.029 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.0008228/0.446, allocations: 0.6967 MB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.4463, allocations: 51.95 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4463, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.4465, allocations: 24.38 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.447, allocations: 8 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.4477, allocations: 136.6 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.4481, allocations: 0.6768 MB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.4482, allocations: 4.062 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.4482, allocations: 15.44 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4482, allocations: 3.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.4806, allocations: 1.473 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.35, allocations: 5.406 kB / 1.333 GB, free: 10.48 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.49764088098891]