Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 107.4 kB / 16.37 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 191.8 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.8 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2553, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002272/0.2577, allocations: 1.264 MB / 0.9524 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005514/0.2582, allocations: 289.2 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.2583, allocations: 0 / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.2583, allocations: 3.938 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.2583, allocations: 15.91 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.2586, allocations: 43.77 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.2587, allocations: 19.92 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.2588, allocations: 4 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.2588, allocations: 7.984 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.2588, allocations: 3.938 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2589, allocations: 4 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.259, allocations: 59.94 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.259, allocations: 0 / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.259, allocations: 12 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.2592, allocations: 47.83 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2592, allocations: 0 / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2592, allocations: 0 / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.2592, allocations: 0 / 0.9528 GB, free: 6.285 MB / 0.7325 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.0003439/0.2596, allocations: 335.5 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2596, allocations: 15.97 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.2598, allocations: 16.91 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.2599, allocations: 172.3 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.2599, allocations: 384 / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.26, allocations: 4.375 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.2601, allocations: 42.25 kB / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.2601, allocations: 192 / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2601, allocations: 3.938 kB / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2601, allocations: 0 / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.2602, allocations: 23.92 kB / 0.9534 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.2603, allocations: 157.7 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.2622, allocations: 270.4 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.2622, allocations: 20.86 kB / 0.9539 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.2622, allocations: 7.984 kB / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.2623, allocations: 34.5 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.2623, allocations: 0 / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001623/0.2624, allocations: 73.69 kB / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2625, allocations: 51.41 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.827e-05/0.2625, allocations: 93.86 kB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2626, allocations: 29.7 kB / 0.9541 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.2626, allocations: 80.27 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.2626, allocations: 11.81 kB / 0.9542 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.2627, allocations: 21.7 kB / 0.9542 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2628, allocations: 310.8 kB / 0.9545 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.2628, allocations: 8 kB / 0.9546 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.2629, allocations: 8 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.2629, allocations: 28.84 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2629, allocations: 0 / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.029e-05/0.263, allocations: 57.62 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.263, allocations: 12 kB / 0.9547 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.263, allocations: 3.938 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2631, allocations: 0 / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.2631, allocations: 4 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.2631, allocations: 0 / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/0.2632, allocations: 0 / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2632, allocations: 4 kB / 0.9547 GB, free: 4.195 MB / 0.7325 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 7.089e-05/0.2632, allocations: 105.8 kB / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.2633, allocations: 7.906 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.2633, allocations: 15.44 kB / 0.9548 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2633, allocations: 3.984 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2633, allocations: 0 / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2633, allocations: 0 / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2634, allocations: 157.7 kB / 0.9549 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2634, allocations: 0 / 0.9549 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.2635, allocations: 8 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2635, allocations: 0 / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.2635, allocations: 7.938 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.2635, allocations: 0 / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2635, allocations: 7.875 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.2636, allocations: 77.12 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.2637, allocations: 89.03 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.2637, allocations: 7.875 kB / 0.9551 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.2638, allocations: 4 kB / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.2638, allocations: 4 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2638, allocations: 4 kB / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.989e-05/0.2638, allocations: 79.28 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2639, allocations: 0 / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001892/0.264, allocations: 8 kB / 0.9552 GB, free: 3.52 MB / 0.7325 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.0001065/0.2642, allocations: 99.23 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.2643, allocations: 27.94 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2643, allocations: 0 / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.2643, allocations: 15.98 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.2645, allocations: 10.17 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.2648, allocations: 135.1 kB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.2651, allocations: 0.6805 MB / 0.9562 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.2651, allocations: 8 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.2652, allocations: 7.438 kB / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2652, allocations: 0 / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of Templates: time 0.00242/0.2676, allocations: 0.5088 MB / 0.9567 GB, free: 1.98 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches