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.002212/0.002212, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002655/0.002655, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 3.581/3.581, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.747e-05, allocations: 3.219 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00353/0.003557, allocations: 1.325 MB / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2104/0.214, allocations: 143.2 MB / 1.019 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.214, allocations: 0 / 1.019 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.214, allocations: 3.938 kB / 1.019 GB, free: 5.664 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.2141, allocations: 7.938 kB / 1.019 GB, free: 5.656 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.2146, allocations: 115.3 kB / 1.019 GB, free: 5.543 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.2147, allocations: 27.84 kB / 1.019 GB, free: 5.516 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.2147, allocations: 8 kB / 1.019 GB, free: 5.508 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.2147, allocations: 4 kB / 1.019 GB, free: 5.504 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.2148, allocations: 7.984 kB / 1.019 GB, free: 5.496 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.2148, allocations: 0 / 1.019 GB, free: 5.496 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.2152, allocations: 171.5 kB / 1.019 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.2152, allocations: 7.938 kB / 1.019 GB, free: 5.32 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.2153, allocations: 8 kB / 1.019 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.2156, allocations: 123.7 kB / 1.019 GB, free: 5.191 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2156, allocations: 0 / 1.019 GB, free: 5.191 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2156, allocations: 4 kB / 1.019 GB, free: 5.188 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2156, allocations: 0 / 1.019 GB, free: 5.188 MB / 0.9792 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.0004435/0.216, allocations: 383.9 kB / 1.019 GB, free: 4.777 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.216, allocations: 12.03 kB / 1.019 GB, free: 4.766 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.2166, allocations: 36.83 kB / 1.019 GB, free: 4.73 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.2168, allocations: 116.5 kB / 1.02 GB, free: 4.59 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2168, allocations: 384 / 1.02 GB, free: 4.59 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2168, allocations: 8.375 kB / 1.02 GB, free: 4.582 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2169, allocations: 49.59 kB / 1.02 GB, free: 4.527 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2169, allocations: 0 / 1.02 GB, free: 4.527 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2169, allocations: 4 kB / 1.02 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.217, allocations: 0 / 1.02 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.2171, allocations: 11.98 kB / 1.02 GB, free: 4.512 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.2175, allocations: 255.8 kB / 1.02 GB, free: 4.227 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 7.551e-05/0.2175, allocations: 34.98 kB / 1.02 GB, free: 4.18 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.2176, allocations: 15.75 kB / 1.02 GB, free: 4.16 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.2176, allocations: 0 / 1.02 GB, free: 4.16 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.2176, allocations: 45.38 kB / 1.02 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.2176, allocations: 0 / 1.02 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2): time 0.0001713/0.2178, allocations: 37.64 kB / 1.02 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.2178, allocations: 59.39 kB / 1.02 GB, free: 3.992 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.218, allocations: 169.9 kB / 1.02 GB, free: 3.809 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.218, allocations: 25.7 kB / 1.02 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.2181, allocations: 134.8 kB / 1.02 GB, free: 3.641 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-06/0.2181, allocations: 8.078 kB / 1.02 GB, free: 3.633 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.2182, allocations: 27.36 kB / 1.02 GB, free: 3.598 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002714/0.2185, allocations: 492.1 kB / 1.021 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.2185, allocations: 11.98 kB / 1.021 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.2186, allocations: 4 kB / 1.021 GB, free: 3.09 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.759e-05/0.2186, allocations: 31.61 kB / 1.021 GB, free: 3.055 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2187, allocations: 3.938 kB / 1.021 GB, free: 3.051 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001809/0.2188, allocations: 61.61 kB / 1.021 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2188, allocations: 4 kB / 1.021 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2188, allocations: 0 / 1.021 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2189, allocations: 4 kB / 1.021 GB, free: 2.977 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.219, allocations: 7.984 kB / 1.021 GB, free: 2.969 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.219, allocations: 0 / 1.021 GB, free: 2.969 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2191, allocations: 7.938 kB / 1.021 GB, free: 2.961 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.2191, allocations: 4 kB / 1.021 GB, free: 2.957 MB / 0.9792 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 0.0001336/0.2192, allocations: 164.5 kB / 1.021 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.2193, allocations: 4 kB / 1.021 GB, free: 2.781 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.2193, allocations: 11.3 kB / 1.021 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2193, allocations: 0 / 1.021 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2193, allocations: 0 / 1.021 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2193, allocations: 0 / 1.021 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2195, allocations: 120.5 kB / 1.021 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2195, allocations: 0 / 1.021 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.2195, allocations: 4 kB / 1.021 GB, free: 2.609 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.2195, allocations: 3.984 kB / 1.021 GB, free: 2.605 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.2195, allocations: 0 / 1.021 GB, free: 2.605 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2195, allocations: 0 / 1.021 GB, free: 2.605 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2195, allocations: 4 kB / 1.021 GB, free: 2.602 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.2197, allocations: 191.8 kB / 1.021 GB, free: 2.395 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.2197, allocations: 0 / 1.021 GB, free: 2.395 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.2197, allocations: 7.984 kB / 1.021 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.2198, allocations: 0 / 1.021 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.2198, allocations: 0 / 1.021 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.2198, allocations: 0 / 1.021 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000118/0.2199, allocations: 139.2 kB / 1.022 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2199, allocations: 0 / 1.022 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002555/0.2202, allocations: 16.03 kB / 1.022 GB, free: 2.234 MB / 0.9792 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.0001916/0.2204, allocations: 107.6 kB / 1.022 GB, free: 2.121 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.2205, allocations: 31.61 kB / 1.022 GB, free: 2.086 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2205, allocations: 0 / 1.022 GB, free: 2.086 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.43e-05/0.2205, allocations: 11.69 kB / 1.022 GB, free: 2.07 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.2208, allocations: 19.86 kB / 1.022 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.2211, allocations: 126.5 kB / 1.022 GB, free: 1.898 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.584e-05/0.2212, allocations: 63.34 kB / 1.022 GB, free: 1.816 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.11e-05/0.2212, allocations: 12.02 kB / 1.022 GB, free: 1.805 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.2213, allocations: 12.5 kB / 1.022 GB, free: 1.793 MB / 0.9792 GB Notification: Performance of SimCode: time 4.41e-07/0.2213, allocations: 0 / 1.022 GB, free: 1.793 MB / 0.9792 GB Notification: Performance of Templates: time 0.003758/0.225, allocations: 0.8025 MB / 1.023 GB, free: 1.012 MB / 0.9792 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] 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/jenkins/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: 9.000359869911335]