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.0009456/0.0009456, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002231, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009346/0.0009346, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002095, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9385/0.9385, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.082/1.021, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.427/2.427, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2544/2.682, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.989e-06/1.169e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.0015/0.001512, allocations: 1.359 MB / 0.8196 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00031/0.001822, allocations: 314.9 kB / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.001839, allocations: 0 / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.277e-06/0.001849, allocations: 3.938 kB / 0.8199 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.09e-05/0.00187, allocations: 3.938 kB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.002014, allocations: 43.75 kB / 0.82 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.002074, allocations: 19.92 kB / 0.82 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.00211, allocations: 7.938 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.002165, allocations: 11.98 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.002214, allocations: 4 kB / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.002226, allocations: 0 / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.002367, allocations: 59.88 kB / 0.8201 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.002379, allocations: 0 / 0.8201 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.002395, allocations: 11.94 kB / 0.8201 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.002512, allocations: 43.91 kB / 0.8201 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-05/0.002527, allocations: 3.938 kB / 0.8201 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.333e-06/0.002529, allocations: 7.984 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.002546, allocations: 0 / 0.8201 GB, free: 1.012 MB / 0.7917 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.000343/0.002889, allocations: 244.6 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.002921, allocations: 8.625 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.003109, allocations: 97.97 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.003183, allocations: 113.8 kB / 0.8206 GB, free: 500 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.003193, allocations: 384 / 0.8206 GB, free: 500 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.003201, allocations: 4.375 kB / 0.8206 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.917e-05/0.00329, allocations: 63.95 kB / 0.8206 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.003297, allocations: 4.188 kB / 0.8206 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.003303, allocations: 384 / 0.8206 GB, free: 416 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.003311, allocations: 4.375 kB / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.048e-05/0.003341, allocations: 11.88 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.604e-05/0.003427, allocations: 65.03 kB / 0.8207 GB, free: 320 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.004083, allocations: 234.4 kB / 0.8209 GB, free: 76 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.004102, allocations: 16.8 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.004109, allocations: 0 / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.004136, allocations: 38.55 kB / 0.821 GB, free: 8 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.004137, allocations: 0 / 0.821 GB, free: 8 kB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001377/0.004275, allocations: 49.88 kB / 0.821 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.004314, allocations: 55.39 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/0.004362, allocations: 102.7 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.004373, allocations: 29.7 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.153e-05/0.004395, allocations: 84.12 kB / 0.8213 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.004424, allocations: 11.84 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.004451, allocations: 13.72 kB / 0.8213 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.004532, allocations: 322.8 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.004539, allocations: 4 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.004547, allocations: 4 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.004573, allocations: 20.84 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004575, allocations: 0 / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.337e-05/0.004618, allocations: 53.75 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.004629, allocations: 8 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.004633, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.004642, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.716e-05/0.004679, allocations: 11.98 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.004682, allocations: 0 / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.004696, allocations: 3.953 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-06/0.004698, allocations: 0 / 0.8217 GB, free: 15.18 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 5.2e-05/0.00475, allocations: 113.8 kB / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-06/0.004756, allocations: 0 / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/0.004773, allocations: 7.531 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.004775, allocations: 8 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.004777, allocations: 0 / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.004781, allocations: 3.984 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.477e-05/0.004836, allocations: 69.84 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004836, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.004854, allocations: 8 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.004874, allocations: 3.938 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-07/0.004875, allocations: 4 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-06/0.004879, allocations: 0 / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004879, allocations: 3.828 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00488, allocations: 0 / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.89e-05/0.004939, allocations: 77.05 kB / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-06/0.004946, allocations: 0 / 0.822 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.591e-05/0.004972, allocations: 4 kB / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.004982, allocations: 4 kB / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.004985, allocations: 0 / 0.822 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.071e-06/0.004991, allocations: 4.859 kB / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004991, allocations: 0 / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of remove unused functions: time 8.64e-05/0.005077, allocations: 8 kB / 0.822 GB, free: 14.82 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 6.843e-05/0.005146, allocations: 80.41 kB / 0.8221 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.947e-05/0.005205, allocations: 28.88 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.005209, allocations: 0 / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.005221, allocations: 21.17 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.96e-05/0.005321, allocations: 15.94 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.005934, allocations: 140.6 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.913e-05/0.005963, allocations: 60.61 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.005994, allocations: 4.078 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.006047, allocations: 63.34 kB / 0.8224 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.006048, allocations: 0 / 0.8224 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of Templates: time 0.001943/0.00799, allocations: 0.7026 MB / 0.8231 GB, free: 13.67 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2485431637614965]