Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001049/0.001049, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00112/0.002169, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000745/0.000745, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001789, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9888/0.9888, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08962/1.078, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.31/2.31, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2525/2.563, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.796e-05, allocations: 9.203 kB / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001608/0.001626, allocations: 1.372 MB / 0.8203 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.002451, allocations: 0.845 MB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.002469, allocations: 3.938 kB / 0.8211 GB, free: 228 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.632e-06/0.002476, allocations: 0 / 0.8211 GB, free: 228 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.387e-05/0.0025, allocations: 7.922 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.002771, allocations: 123.3 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.002839, allocations: 27.86 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.002877, allocations: 4 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.124e-05/0.002938, allocations: 23.97 kB / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.002992, allocations: 7.984 kB / 0.8213 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.003004, allocations: 0 / 0.8213 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.003245, allocations: 167.7 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.003263, allocations: 4 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.003278, allocations: 7.938 kB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.00345, allocations: 111.7 kB / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.00346, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00346, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.00347, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8073 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.0003528/0.003823, allocations: 288.2 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.003857, allocations: 16.03 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.003889, allocations: 0.9375 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.762e-05/0.003967, allocations: 117.7 kB / 0.822 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.004028, allocations: 55.97 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.004038, allocations: 384 / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.804e-05/0.004126, allocations: 80.64 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.004131, allocations: 192 / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.004139, allocations: 4.375 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.004145, allocations: 4.125 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.004165, allocations: 7.984 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.919e-05/0.004244, allocations: 65.05 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.004371, allocations: 38.53 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.004385, allocations: 12.86 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.004508, allocations: 24.06 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.004528, allocations: 34.56 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.004529, allocations: 0 / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 9.047e-05/0.004619, allocations: 41.69 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.00464, allocations: 59.34 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.004685, allocations: 102.7 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.004697, allocations: 29.7 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.004717, allocations: 84.14 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.004744, allocations: 15.83 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.004771, allocations: 13.72 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.004844, allocations: 318.8 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.004852, allocations: 4 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-06/0.004862, allocations: 4 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.004887, allocations: 20.84 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.004889, allocations: 4 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.251e-05/0.004931, allocations: 45.62 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.004942, allocations: 5.406 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.004945, allocations: 0 / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.004954, allocations: 3.938 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.575e-05/0.004989, allocations: 8 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.004992, allocations: 0 / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.005005, allocations: 3.984 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.005011, allocations: 11.94 kB / 0.823 GB, free: 14.07 MB / 0.8073 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 4.536e-05/0.005057, allocations: 105.8 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.005062, allocations: 8 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.005125, allocations: 53.34 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.005128, allocations: 8.5 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-06/0.00513, allocations: 0 / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005132, allocations: 0 / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.091e-05/0.005183, allocations: 73.83 kB / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005183, allocations: 0 / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.005203, allocations: 11.98 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.005225, allocations: 7.953 kB / 0.8233 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.005227, allocations: 3.984 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.00523, allocations: 4 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005231, allocations: 0 / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005232, allocations: 0 / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.12e-05/0.005283, allocations: 69.06 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.005291, allocations: 0 / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.005318, allocations: 7.984 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.005348, allocations: 4 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.005351, allocations: 3.938 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.905e-06/0.005359, allocations: 4.859 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005359, allocations: 0 / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001263/0.005485, allocations: 39.86 kB / 0.8234 GB, free: 13.62 MB / 0.8073 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 0.0001457/0.005631, allocations: 132.2 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.292e-05/0.005694, allocations: 24.78 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.005698, allocations: 4 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.005717, allocations: 12.86 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.005819, allocations: 23.91 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007641/0.006583, allocations: 136.6 kB / 0.8237 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.83e-05/0.006612, allocations: 59.2 kB / 0.8238 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.006636, allocations: 4 kB / 0.8238 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.006691, allocations: 59.36 kB / 0.8238 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of SimCode: time 1.012e-06/0.006692, allocations: 4 kB / 0.8238 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.002506/0.009197, allocations: 1.268 MB / 0.8251 GB, free: 11.84 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0331739112734795]