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.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.001814/0.001814, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.001574/0.001574, allocations: 162 kB / 23.01 MB, free: 4.965 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.411/1.411, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.895/2.895, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [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.002293/0.002293, allocations: 71.88 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8326/0.8349, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002017/0.8369, allocations: 1.304 MB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1689/1.006, allocations: 129.6 MB / 1.314 GB, free: 2.973 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/1.006, allocations: 0 / 1.314 GB, free: 2.973 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/1.006, allocations: 0 / 1.314 GB, free: 2.973 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/1.006, allocations: 7.922 kB / 1.314 GB, free: 2.965 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/1.006, allocations: 123.4 kB / 1.315 GB, free: 2.844 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/1.006, allocations: 15.94 kB / 1.315 GB, free: 2.828 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/1.006, allocations: 7.984 kB / 1.315 GB, free: 2.82 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/1.006, allocations: 11.94 kB / 1.315 GB, free: 2.809 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/1.007, allocations: 3.938 kB / 1.315 GB, free: 2.805 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/1.007, allocations: 4 kB / 1.315 GB, free: 2.801 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/1.007, allocations: 163.7 kB / 1.315 GB, free: 2.641 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/1.007, allocations: 7.984 kB / 1.315 GB, free: 2.633 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/1.007, allocations: 7.938 kB / 1.315 GB, free: 2.625 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/1.007, allocations: 103.4 kB / 1.315 GB, free: 2.531 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/1.007, allocations: 3.938 kB / 1.315 GB, free: 2.527 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.613e-06/1.007, allocations: 4 kB / 1.315 GB, free: 2.523 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.007, allocations: 0 / 1.315 GB, free: 2.523 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.0003483/1.008, allocations: 278.1 kB / 1.315 GB, free: 2.223 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/1.008, allocations: 8.031 kB / 1.315 GB, free: 2.215 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005793/1.008, allocations: 44.84 kB / 1.315 GB, free: 2.172 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/1.008, allocations: 110.5 kB / 1.315 GB, free: 2.039 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.008, allocations: 7.938 kB / 1.315 GB, free: 2.031 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/1.008, allocations: 3.938 kB / 1.315 GB, free: 2.027 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/1.009, allocations: 49.66 kB / 1.315 GB, free: 1.973 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/1.009, allocations: 0 / 1.315 GB, free: 1.973 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/1.009, allocations: 0 / 1.315 GB, free: 1.973 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.009, allocations: 4 kB / 1.315 GB, free: 1.969 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/1.009, allocations: 15.97 kB / 1.315 GB, free: 1.953 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/1.009, allocations: 212.5 kB / 1.316 GB, free: 1.715 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.854e-05/1.009, allocations: 26.52 kB / 1.316 GB, free: 1.68 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/1.009, allocations: 12.92 kB / 1.316 GB, free: 1.664 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/1.009, allocations: 0 / 1.316 GB, free: 1.664 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/1.009, allocations: 34.56 kB / 1.316 GB, free: 1.621 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/1.009, allocations: 0 / 1.316 GB, free: 1.621 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0001512/1.009, allocations: 41.69 kB / 1.316 GB, free: 1.574 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/1.009, allocations: 55.34 kB / 1.316 GB, free: 1.508 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/1.009, allocations: 117.9 kB / 1.316 GB, free: 1.383 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/1.01, allocations: 29.7 kB / 1.316 GB, free: 1.348 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/1.01, allocations: 80.14 kB / 1.316 GB, free: 1.266 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/1.01, allocations: 7.953 kB / 1.316 GB, free: 1.258 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/1.01, allocations: 21.7 kB / 1.316 GB, free: 1.23 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.01, allocations: 322.7 kB / 1.316 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/1.01, allocations: 8 kB / 1.316 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/1.01, allocations: 11.98 kB / 1.316 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.453e-05/1.01, allocations: 24.84 kB / 1.316 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.01, allocations: 0 / 1.316 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001976/1.01, allocations: 61.61 kB / 1.316 GB, free: 0.793 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.01, allocations: 6.188 kB / 1.316 GB, free: 0.7891 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.01, allocations: 3.984 kB / 1.316 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.01, allocations: 4 kB / 1.316 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.01, allocations: 4 kB / 1.316 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/1.01, allocations: 0 / 1.316 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/1.011, allocations: 15.98 kB / 1.316 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/1.011, allocations: 0 / 1.316 GB, free: 0.7617 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 8.832e-05/1.011, allocations: 113.8 kB / 1.317 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/1.011, allocations: 7.953 kB / 1.317 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/1.011, allocations: 7.312 kB / 1.317 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.011, allocations: 0 / 1.317 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.011, allocations: 0 / 1.317 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/1.011, allocations: 0 / 1.317 GB, free: 0.625 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/1.011, allocations: 101.3 kB / 1.317 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.011, allocations: 4 kB / 1.317 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/1.011, allocations: 7.984 kB / 1.317 GB, free: 496 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.011, allocations: 0 / 1.317 GB, free: 496 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/1.011, allocations: 3.938 kB / 1.317 GB, free: 492 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/1.011, allocations: 0 / 1.317 GB, free: 492 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.011, allocations: 4 kB / 1.317 GB, free: 488 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/1.011, allocations: 143.4 kB / 1.317 GB, free: 328 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/1.011, allocations: 3.984 kB / 1.317 GB, free: 324 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/1.011, allocations: 4 kB / 1.317 GB, free: 320 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/1.011, allocations: 0 / 1.317 GB, free: 320 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/1.011, allocations: 4.031 kB / 1.317 GB, free: 316 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/1.011, allocations: 4 kB / 1.317 GB, free: 312 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001116/1.011, allocations: 91.27 kB / 1.317 GB, free: 220 kB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.011, allocations: 0 / 1.317 GB, free: 220 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002547/1.011, allocations: 15.94 kB / 1.317 GB, free: 204 kB / 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.0001649/1.012, allocations: 111.1 kB / 1.317 GB, free: 84 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001462/1.012, allocations: 27.92 kB / 1.317 GB, free: 56 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.012, allocations: 3.938 kB / 1.317 GB, free: 52 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.647e-05/1.012, allocations: 7.984 kB / 1.317 GB, free: 44 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/1.012, allocations: 4 kB / 1.317 GB, free: 40 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/1.012, allocations: 111.6 kB / 1.317 GB, free: 15.9 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.817e-05/1.013, allocations: 59.34 kB / 1.317 GB, free: 15.82 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.525e-05/1.013, allocations: 8.625 kB / 1.317 GB, free: 15.82 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/1.013, allocations: 12.5 kB / 1.317 GB, free: 15.8 MB / 1.17 GB Notification: Performance of SimCode: time 4.51e-07/1.013, allocations: 0 / 1.317 GB, free: 15.8 MB / 1.17 GB Notification: Performance of Templates: time 0.00338/1.016, allocations: 0.7947 MB / 1.318 GB, free: 15.03 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 800] 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/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: 8.738598286989145]