Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008866/0.0008866, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001003/0.001003, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8694/0.8694, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.676e-05/3.857e-05, allocations: 5.797 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001761/0.001799, allocations: 1.278 MB / 0.953 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004499/0.002249, allocations: 279 kB / 0.9532 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.002273, allocations: 0 / 0.9532 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.002292, allocations: 0 / 0.9532 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.002336, allocations: 7.922 kB / 0.9533 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.002605, allocations: 51.62 kB / 0.9533 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.00267, allocations: 19.94 kB / 0.9533 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.002713, allocations: 3.984 kB / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.002773, allocations: 7.984 kB / 0.9533 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.002827, allocations: 15.92 kB / 0.9533 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.002842, allocations: 0 / 0.9533 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-05/0.002933, allocations: 51.95 kB / 0.9534 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.002948, allocations: 4 kB / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.002966, allocations: 4 kB / 0.9534 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.003094, allocations: 51.88 kB / 0.9535 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.003097, allocations: 0 / 0.9535 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/0.003099, allocations: 0 / 0.9535 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.003104, allocations: 0 / 0.9535 GB, free: 1.227 MB / 0.9011 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.0003152/0.003419, allocations: 266.2 kB / 0.9537 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.003465, allocations: 8.031 kB / 0.9537 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.003617, allocations: 24.91 kB / 0.9537 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.233e-05/0.00369, allocations: 105.7 kB / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.003699, allocations: 384 / 0.9538 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.003708, allocations: 4.375 kB / 0.9538 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.003827, allocations: 75.83 kB / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.003833, allocations: 192 / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.003844, allocations: 384 / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.003849, allocations: 384 / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.409e-05/0.003893, allocations: 27.91 kB / 0.9539 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.004004, allocations: 109.3 kB / 0.954 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/0.004835, allocations: 262.5 kB / 0.9543 GB, free: 260 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.004868, allocations: 16.84 kB / 0.9543 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.00488, allocations: 7.938 kB / 0.9543 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.004901, allocations: 34.56 kB / 0.9544 GB, free: 188 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.953e-06/0.004903, allocations: 0 / 0.9544 GB, free: 188 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001482/0.005051, allocations: 65.64 kB / 0.9544 GB, free: 116 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.005166, allocations: 51.41 kB / 0.9545 GB, free: 52 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.00523, allocations: 97.8 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.005245, allocations: 29.7 kB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.005264, allocations: 80.14 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.00529, allocations: 11.92 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.00532, allocations: 21.67 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.005396, allocations: 314.8 kB / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.005413, allocations: 12.12 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.005426, allocations: 11.92 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.04e-05/0.005467, allocations: 28.86 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005469, allocations: 0 / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.231e-05/0.005531, allocations: 53.69 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.005544, allocations: 4 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.00555, allocations: 0 / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.005563, allocations: 0 / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.688e-05/0.0056, allocations: 8 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.005606, allocations: 0 / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.005622, allocations: 3.938 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.005626, allocations: 7.938 kB / 0.9551 GB, free: 15.34 MB / 0.9167 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 6.059e-05/0.005687, allocations: 109.8 kB / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.005692, allocations: 0 / 0.9552 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.005717, allocations: 11.52 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005718, allocations: 3.938 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.005722, allocations: 0 / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.005726, allocations: 11.88 kB / 0.9553 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.542e-05/0.005791, allocations: 101.3 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005792, allocations: 0 / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.00581, allocations: 4 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.005811, allocations: 4 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.005819, allocations: 3.984 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.005821, allocations: 4 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.005822, allocations: 0 / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.198e-05/0.005904, allocations: 89.31 kB / 0.9554 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.005947, allocations: 11.89 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.005956, allocations: 0 / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.081e-05/0.005987, allocations: 0 / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.006002, allocations: 3.984 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.006006, allocations: 8 kB / 0.9555 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.00603, allocations: 83.28 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00603, allocations: 0 / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001195/0.00615, allocations: 11.94 kB / 0.9556 GB, free: 14.82 MB / 0.9167 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.212e-05/0.006242, allocations: 95.25 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.324e-05/0.006325, allocations: 27.98 kB / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006327, allocations: 0 / 0.9557 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/0.006341, allocations: 11.94 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.006538, allocations: 11.98 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.006831, allocations: 142.6 kB / 0.9558 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.059e-05/0.006872, allocations: 59.36 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.006901, allocations: 12.5 kB / 0.9559 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.006901, allocations: 0 / 0.9559 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.001451/0.008352, allocations: 0.5508 MB / 0.9564 GB, free: 13.85 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.501689721830189]