Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001324/0.001324, allocations: 104.5 kB / 16.45 MB, free: 6.504 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.001283/0.001283, allocations: 192.6 kB / 19.41 MB, free: 3.68 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.455/1.455, 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 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 3.204/3.204, allocations: 497.2 MB / 0.7811 GB, free: 33.57 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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.95 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003052/0.3575, allocations: 1.289 MB / 1.305 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1862/0.5437, allocations: 148.1 MB / 1.45 GB, free: 11.59 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.5437, allocations: 0 / 1.45 GB, free: 11.59 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.5438, allocations: 0 / 1.45 GB, free: 11.59 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.5438, allocations: 11.92 kB / 1.45 GB, free: 11.58 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.5445, allocations: 119.4 kB / 1.45 GB, free: 11.46 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.374e-05/0.5445, allocations: 19.88 kB / 1.45 GB, free: 11.44 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.5446, allocations: 0 / 1.45 GB, free: 11.44 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.5446, allocations: 7.984 kB / 1.45 GB, free: 11.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.5447, allocations: 7.938 kB / 1.45 GB, free: 11.43 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.5447, allocations: 3.984 kB / 1.45 GB, free: 11.42 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.5451, allocations: 175.7 kB / 1.45 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.5451, allocations: 0 / 1.45 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.5452, allocations: 11.94 kB / 1.45 GB, free: 11.24 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.5454, allocations: 119.9 kB / 1.45 GB, free: 11.12 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5454, allocations: 0 / 1.45 GB, free: 11.12 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5454, allocations: 0 / 1.45 GB, free: 11.12 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5454, allocations: 3.938 kB / 1.45 GB, free: 11.12 MB / 1.154 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.0004216/0.5458, allocations: 355.2 kB / 1.451 GB, free: 10.72 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5459, allocations: 12.91 kB / 1.451 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.5459, allocations: 30.75 kB / 1.451 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.5465, allocations: 36.89 kB / 1.451 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.5466, allocations: 168.1 kB / 1.451 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.5466, allocations: 0 / 1.451 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.5467, allocations: 0 / 1.451 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.5468, allocations: 49.66 kB / 1.451 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5468, allocations: 0 / 1.451 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5469, allocations: 0 / 1.451 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5469, allocations: 7.938 kB / 1.451 GB, free: 10.37 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.547, allocations: 19.97 kB / 1.451 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.5474, allocations: 260.9 kB / 1.451 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.5475, allocations: 18.58 kB / 1.451 GB, free: 10.02 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.5475, allocations: 16.92 kB / 1.451 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.5475, allocations: 0 / 1.451 GB, free: 10 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5475, allocations: 30.56 kB / 1.451 GB, free: 9.961 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.5475, allocations: 3.938 kB / 1.451 GB, free: 9.957 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0001821/0.5477, allocations: 49.64 kB / 1.451 GB, free: 9.902 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.5477, allocations: 51.41 kB / 1.451 GB, free: 9.84 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.5479, allocations: 113.9 kB / 1.451 GB, free: 9.719 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5479, allocations: 25.7 kB / 1.451 GB, free: 9.688 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.548, allocations: 84.14 kB / 1.452 GB, free: 9.602 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.548, allocations: 7.938 kB / 1.452 GB, free: 9.594 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.5481, allocations: 21.7 kB / 1.452 GB, free: 9.566 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.5482, allocations: 310.8 kB / 1.452 GB, free: 9.254 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.5483, allocations: 15.98 kB / 1.452 GB, free: 9.238 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.5484, allocations: 15.92 kB / 1.452 GB, free: 9.223 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.5485, allocations: 24.8 kB / 1.452 GB, free: 9.195 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5485, allocations: 0 / 1.452 GB, free: 9.195 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002155/0.5487, allocations: 61.61 kB / 1.452 GB, free: 9.129 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5487, allocations: 4 kB / 1.452 GB, free: 9.125 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5487, allocations: 4 kB / 1.452 GB, free: 9.121 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5487, allocations: 0 / 1.452 GB, free: 9.121 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.5489, allocations: 11.98 kB / 1.452 GB, free: 9.109 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5489, allocations: 0 / 1.452 GB, free: 9.109 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.549, allocations: 11.94 kB / 1.452 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.549, allocations: 3.984 kB / 1.452 GB, free: 9.094 MB / 1.154 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 (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 prepare postOptimizeDAE: time 9.64e-05/0.5491, allocations: 113.8 kB / 1.452 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.5492, allocations: 4 kB / 1.452 GB, free: 8.969 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.5492, allocations: 7.125 kB / 1.452 GB, free: 8.957 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5492, allocations: 7.938 kB / 1.452 GB, free: 8.949 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.5492, allocations: 4 kB / 1.452 GB, free: 8.945 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5492, allocations: 3.938 kB / 1.452 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.5494, allocations: 153.6 kB / 1.452 GB, free: 8.742 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5494, allocations: 0 / 1.452 GB, free: 8.742 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.5494, allocations: 4 kB / 1.452 GB, free: 8.738 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5494, allocations: 0 / 1.452 GB, free: 8.738 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.5494, allocations: 3.984 kB / 1.452 GB, free: 8.734 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5494, allocations: 0 / 1.452 GB, free: 8.734 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5494, allocations: 0 / 1.452 GB, free: 8.734 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.5496, allocations: 143.5 kB / 1.452 GB, free: 8.578 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.5496, allocations: 85.05 kB / 1.453 GB, free: 8.477 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.5496, allocations: 0 / 1.453 GB, free: 8.477 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.5497, allocations: 4 kB / 1.453 GB, free: 8.473 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.5498, allocations: 3.938 kB / 1.453 GB, free: 8.469 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.5498, allocations: 336 / 1.453 GB, free: 8.469 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001021/0.5499, allocations: 99.28 kB / 1.453 GB, free: 8.371 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.5499, allocations: 3.938 kB / 1.453 GB, free: 8.367 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002432/0.5501, allocations: 12 kB / 1.453 GB, free: 8.355 MB / 1.154 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 (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 Backend phase and start with SimCode phase: time 0.000592/0.5507, allocations: 0.6798 MB / 1.453 GB, free: 7.652 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.5508, allocations: 24.02 kB / 1.453 GB, free: 7.629 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5509, allocations: 3.938 kB / 1.453 GB, free: 7.625 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.562e-05/0.5509, allocations: 7.938 kB / 1.453 GB, free: 7.617 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.5512, allocations: 15.92 kB / 1.453 GB, free: 7.602 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.5517, allocations: 148.6 kB / 1.454 GB, free: 7.422 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.5521, allocations: 0.6845 MB / 1.454 GB, free: 6.711 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.527e-05/0.5522, allocations: 11.94 kB / 1.454 GB, free: 6.699 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.5522, allocations: 7.438 kB / 1.454 GB, free: 6.691 MB / 1.154 GB Notification: Performance of SimCode: time 3.3e-07/0.5522, allocations: 0 / 1.454 GB, free: 6.691 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.5776, allocations: 1.604 MB / 1.456 GB, free: 5.23 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.642, allocations: 12.89 kB / 1.456 GB, free: 5.223 MB / 1.154 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.365035184659064]