Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.0008868/0.0008868, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008097/0.0008097, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8806/0.8806, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.604/1.604, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.063e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00283/0.00286, allocations: 1.309 MB / 0.953 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5766/0.5794, allocations: 129.7 MB / 1.08 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.5795, allocations: 1.203 kB / 1.08 GB, free: 40.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.5795, allocations: 7.938 kB / 1.08 GB, free: 40.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.5795, allocations: 9.266 kB / 1.08 GB, free: 40.65 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.5799, allocations: 117.2 kB / 1.08 GB, free: 40.64 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 6.806e-05/0.58, allocations: 21.62 kB / 1.08 GB, free: 40.64 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.58, allocations: 0 / 1.08 GB, free: 40.64 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.5801, allocations: 14.03 kB / 1.08 GB, free: 40.64 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.252e-05/0.5801, allocations: 10.2 kB / 1.08 GB, free: 40.63 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.5801, allocations: 2.938 kB / 1.08 GB, free: 40.63 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.5804, allocations: 169.3 kB / 1.08 GB, free: 40.62 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.5804, allocations: 1.094 kB / 1.08 GB, free: 40.62 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.5805, allocations: 14.69 kB / 1.08 GB, free: 40.62 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.5806, allocations: 121.3 kB / 1.08 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5806, allocations: 0 / 1.08 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5807, allocations: 0 / 1.08 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.5807, allocations: 0 / 1.08 GB, free: 40.61 MB / 0.9948 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.0002434/0.5809, allocations: 279.2 kB / 1.08 GB, free: 40.34 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.5809, allocations: 8.406 kB / 1.08 GB, free: 40.34 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/0.5813, allocations: 43.97 kB / 1.08 GB, free: 40.33 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.234e-05/0.5813, allocations: 109.5 kB / 1.08 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5814, allocations: 3.125 kB / 1.081 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.5814, allocations: 8.062 kB / 1.081 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.5815, allocations: 48.09 kB / 1.081 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.5815, allocations: 0 / 1.081 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.5815, allocations: 0 / 1.081 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5815, allocations: 4 kB / 1.081 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.415e-05/0.5816, allocations: 21.3 kB / 1.081 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.5818, allocations: 195.7 kB / 1.081 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.5818, allocations: 34.98 kB / 1.081 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.5819, allocations: 7.766 kB / 1.081 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.5819, allocations: 5.188 kB / 1.081 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.5819, allocations: 40.56 kB / 1.081 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5819, allocations: 0 / 1.081 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.582, allocations: 41.31 kB / 1.081 GB, free: 39.85 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.582, allocations: 55.41 kB / 1.081 GB, free: 39.78 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.5821, allocations: 109.8 kB / 1.081 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-06/0.5821, allocations: 25.7 kB / 1.081 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.5821, allocations: 94.5 kB / 1.081 GB, free: 39.56 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.5821, allocations: 9.578 kB / 1.081 GB, free: 39.56 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.5822, allocations: 19.41 kB / 1.081 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.598e-05/0.5822, allocations: 314.1 kB / 1.081 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.5822, allocations: 11.56 kB / 1.081 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.5822, allocations: 11.72 kB / 1.082 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.5823, allocations: 26.36 kB / 1.082 GB, free: 39.22 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5823, allocations: 3.938 kB / 1.082 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.857e-05/0.5824, allocations: 58.38 kB / 1.082 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5824, allocations: 11.53 kB / 1.082 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.5824, allocations: 0 / 1.082 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5824, allocations: 0 / 1.082 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.5825, allocations: 14.95 kB / 1.082 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.5825, allocations: 0 / 1.082 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.5825, allocations: 9.719 kB / 1.082 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.5826, allocations: 0 / 1.082 GB, free: 39.18 MB / 0.9948 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 3.838e-05/0.5826, allocations: 118 kB / 1.082 GB, free: 39.06 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.5826, allocations: 6.688 kB / 1.082 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.5826, allocations: 6.312 kB / 1.082 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.5826, allocations: 0 / 1.082 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5826, allocations: 0 / 1.082 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.5826, allocations: 0 / 1.082 GB, free: 39.05 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.978e-05/0.5827, allocations: 105.4 kB / 1.082 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5827, allocations: 3.938 kB / 1.082 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-06/0.5827, allocations: 2.625 kB / 1.082 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5827, allocations: 1.094 kB / 1.082 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.5827, allocations: 0 / 1.082 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5827, allocations: 2.875 kB / 1.082 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.5827, allocations: 4 kB / 1.082 GB, free: 38.92 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.633e-05/0.5828, allocations: 141.3 kB / 1.082 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.5828, allocations: 3.938 kB / 1.082 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.5828, allocations: 0 / 1.082 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.5829, allocations: 2.812 kB / 1.082 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.5829, allocations: 3.422 kB / 1.082 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.5829, allocations: 3.125 kB / 1.082 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.547e-05/0.5829, allocations: 90.94 kB / 1.082 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5829, allocations: 0 / 1.082 GB, free: 38.71 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001686/0.5831, allocations: 24.31 kB / 1.082 GB, free: 38.7 MB / 0.9948 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.0001525/0.5832, allocations: 107 kB / 1.082 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.419e-05/0.5833, allocations: 20.7 kB / 1.082 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5833, allocations: 1.031 kB / 1.082 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-06/0.5833, allocations: 9.812 kB / 1.082 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.5836, allocations: 10.7 kB / 1.082 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.5838, allocations: 137.2 kB / 1.082 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.065e-05/0.5838, allocations: 61.34 kB / 1.082 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.5839, allocations: 11.34 kB / 1.082 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of SimCode: time 7.22e-07/0.5839, allocations: 0 / 1.082 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of Templates: time 0.001784/0.5857, allocations: 0.84 MB / 1.083 GB, free: 38.34 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.221410231664777]