Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001312/0.001312, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001401/0.001401, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.852/2.852, allocations: 394.2 MB / 0.6386 GB, free: 11.91 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.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [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.002151/0.002151, allocations: 67.89 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8516/0.8537, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002858/0.8566, allocations: 1.294 MB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000632/0.8572, allocations: 276.5 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.8572, allocations: 0 / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.8573, allocations: 4.5 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.8573, allocations: 2.078 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.8576, allocations: 51.5 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.8577, allocations: 19.11 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.8578, allocations: 1.969 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.8578, allocations: 13.42 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.8579, allocations: 7.953 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.8579, allocations: 1.281 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.858, allocations: 53.53 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.858, allocations: 6.062 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.8581, allocations: 12.67 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.8582, allocations: 41.69 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8583, allocations: 0 / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8583, allocations: 0 / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.8583, allocations: 0 / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003378/0.8586, allocations: 258.8 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.8586, allocations: 9.625 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.8589, allocations: 21.98 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.041e-05/0.859, allocations: 109.9 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.859, allocations: 384 / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.859, allocations: 6.203 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.8591, allocations: 76.66 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.8591, allocations: 192 / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.8592, allocations: 3.938 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.8592, allocations: 1.375 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.748e-05/0.8592, allocations: 14.78 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.8593, allocations: 112 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/0.8617, allocations: 263.5 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.8617, allocations: 21.73 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.8617, allocations: 1.062 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.8617, allocations: 40.8 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.8617, allocations: 0 / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.8619, allocations: 65.78 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.862, allocations: 52.81 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.114e-05/0.862, allocations: 91.48 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.862, allocations: 26.83 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.306e-05/0.862, allocations: 80.66 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.862, allocations: 23.36 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.8621, allocations: 13.77 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.8621, allocations: 312.6 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.8622, allocations: 14.69 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.8622, allocations: 10.42 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.471e-05/0.8622, allocations: 27.72 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8622, allocations: 1.891 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.732e-05/0.8623, allocations: 51.8 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.8623, allocations: 7.859 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8624, allocations: 0 / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8624, allocations: 5.125 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.8624, allocations: 6.625 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8624, allocations: 0 / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.8625, allocations: 6.062 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.8625, allocations: 5.156 kB / 1.19 GB, free: 13.58 MB / 1.076 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 (4): * Single equations (assignments): 4 * 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 5.061e-05/0.8625, allocations: 115.8 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.8626, allocations: 2.688 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.8626, allocations: 12.03 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8626, allocations: 3.938 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8626, allocations: 0.9062 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8626, allocations: 0.7031 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.82e-05/0.8627, allocations: 103.8 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8627, allocations: 0 / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.8627, allocations: 6.484 kB / 1.19 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.8627, allocations: 5.156 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.8627, allocations: 0 / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8627, allocations: 2.031 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8627, allocations: 3.938 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.8628, allocations: 79 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.8629, allocations: 7.922 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.8629, allocations: 0.8906 kB / 1.19 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.481e-05/0.863, allocations: 10.28 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.863, allocations: 6.219 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.863, allocations: 1.156 kB / 1.19 GB, free: 13.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.77e-05/0.863, allocations: 81.67 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.863, allocations: 0 / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002806/0.8633, allocations: 5.531 kB / 1.19 GB, free: 13.13 MB / 1.076 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 (4): * Single equations (assignments): 4 * 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 9.122e-05/0.8634, allocations: 100.3 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.8635, allocations: 21.27 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8635, allocations: 0 / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.8635, allocations: 17.36 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.8638, allocations: 11.91 kB / 1.191 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.8642, allocations: 125.8 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.8642, allocations: 62.59 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.8643, allocations: 6.031 kB / 1.191 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.8643, allocations: 9.656 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.8643, allocations: 1.156 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of Templates: time 0.003413/0.8677, allocations: 0.5307 MB / 1.191 GB, free: 12.73 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.439598675002344]