Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001187/0.001187, allocations: 76.5 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.001334/0.001334, 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.8756/0.8756, allocations: 177.2 MB / 203.5 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.9 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.856e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001546/0.001564, allocations: 1.312 MB / 0.9835 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5544/0.5559, allocations: 129.7 MB / 1.11 GB, free: 24.47 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.556, allocations: 0 / 1.11 GB, free: 24.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.556, allocations: 0 / 1.11 GB, free: 24.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 5.416e-05/0.556, allocations: 6.75 kB / 1.11 GB, free: 24.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.5565, allocations: 126.3 kB / 1.11 GB, free: 24.41 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.5565, allocations: 21.33 kB / 1.11 GB, free: 24.4 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.5566, allocations: 3.062 kB / 1.11 GB, free: 24.4 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.5566, allocations: 7.656 kB / 1.11 GB, free: 24.4 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/0.5567, allocations: 9.094 kB / 1.11 GB, free: 24.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.5567, allocations: 1.5 kB / 1.11 GB, free: 24.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.557, allocations: 174.4 kB / 1.11 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.5571, allocations: 4 kB / 1.11 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.5571, allocations: 5.531 kB / 1.11 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.5573, allocations: 118.9 kB / 1.111 GB, free: 24.31 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5573, allocations: 3.938 kB / 1.111 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5573, allocations: 1.125 kB / 1.111 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.5573, allocations: 0 / 1.111 GB, free: 24.3 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.0002613/0.5576, allocations: 275.3 kB / 1.111 GB, free: 24.03 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5576, allocations: 12.81 kB / 1.111 GB, free: 24.02 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.558, allocations: 44.3 kB / 1.111 GB, free: 24.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.237e-05/0.5581, allocations: 113.6 kB / 1.111 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5581, allocations: 1.844 kB / 1.111 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.5581, allocations: 0.5625 kB / 1.111 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.5582, allocations: 57.3 kB / 1.111 GB, free: 23.85 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.5582, allocations: 2.344 kB / 1.111 GB, free: 23.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5583, allocations: 0.6094 kB / 1.111 GB, free: 23.85 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5583, allocations: 1.531 kB / 1.111 GB, free: 23.85 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.5583, allocations: 19.83 kB / 1.111 GB, free: 23.84 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.5586, allocations: 194.5 kB / 1.111 GB, free: 23.64 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.547e-05/0.5586, allocations: 27.7 kB / 1.111 GB, free: 23.61 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.5586, allocations: 17.67 kB / 1.111 GB, free: 23.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.5587, allocations: 0.5625 kB / 1.111 GB, free: 23.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.5587, allocations: 36.58 kB / 1.111 GB, free: 23.55 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5587, allocations: 1 kB / 1.111 GB, free: 23.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001241/0.5588, allocations: 41.95 kB / 1.111 GB, free: 23.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.5588, allocations: 56.53 kB / 1.111 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.5589, allocations: 113.3 kB / 1.112 GB, free: 23.35 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.5589, allocations: 25.7 kB / 1.112 GB, free: 23.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.5589, allocations: 85.89 kB / 1.112 GB, free: 23.23 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/0.5589, allocations: 13.62 kB / 1.112 GB, free: 23.22 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.559, allocations: 18.25 kB / 1.112 GB, free: 23.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.76e-05/0.559, allocations: 317.5 kB / 1.112 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.559, allocations: 12.47 kB / 1.112 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.5591, allocations: 10.55 kB / 1.112 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.5591, allocations: 21.06 kB / 1.112 GB, free: 22.87 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5591, allocations: 3.938 kB / 1.112 GB, free: 22.87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001063/0.5592, allocations: 65.66 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5592, allocations: 5.25 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5592, allocations: 1.344 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5593, allocations: 0.6562 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.5593, allocations: 9.672 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.5593, allocations: 0.5625 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.5594, allocations: 8.406 kB / 1.112 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.5594, allocations: 6.953 kB / 1.112 GB, free: 22.82 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.508e-05/0.5594, allocations: 111 kB / 1.112 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.5594, allocations: 2.453 kB / 1.112 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.5595, allocations: 11.55 kB / 1.112 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5595, allocations: 0 / 1.112 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5595, allocations: 1.828 kB / 1.112 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5595, allocations: 0 / 1.112 GB, free: 22.7 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.513e-05/0.5595, allocations: 106.9 kB / 1.112 GB, free: 22.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5595, allocations: 3.938 kB / 1.112 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.5595, allocations: 3.766 kB / 1.112 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.5595, allocations: 4 kB / 1.112 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.5596, allocations: 2.125 kB / 1.112 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5596, allocations: 0.6562 kB / 1.112 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5596, allocations: 1.125 kB / 1.112 GB, free: 22.56 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.218e-05/0.5596, allocations: 135.5 kB / 1.112 GB, free: 22.42 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.5596, allocations: 7.125 kB / 1.112 GB, free: 22.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.5596, allocations: 5.125 kB / 1.112 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.5597, allocations: 3.594 kB / 1.112 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.5597, allocations: 1.984 kB / 1.112 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.5597, allocations: 3.125 kB / 1.112 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.5597, allocations: 95.53 kB / 1.113 GB, free: 22.33 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5597, allocations: 0 / 1.113 GB, free: 22.33 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001692/0.5599, allocations: 16.91 kB / 1.113 GB, free: 22.33 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.0001365/0.56, allocations: 114.4 kB / 1.113 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.005e-05/0.5601, allocations: 16.23 kB / 1.113 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5601, allocations: 3.938 kB / 1.113 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-06/0.5601, allocations: 12.22 kB / 1.113 GB, free: 22.22 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.5604, allocations: 13.84 kB / 1.113 GB, free: 22.22 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.5606, allocations: 137.1 kB / 1.113 GB, free: 22.08 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.971e-05/0.5606, allocations: 59.19 kB / 1.113 GB, free: 22.01 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.5607, allocations: 13.02 kB / 1.113 GB, free: 22.01 MB / 0.9948 GB Notification: Performance of SimCode: time 4.11e-07/0.5607, allocations: 0 / 1.113 GB, free: 22.01 MB / 0.9948 GB Notification: Performance of Templates: time 0.001848/0.5625, allocations: 0.8303 MB / 1.114 GB, free: 21.96 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.30622271168977]