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.001804/0.001804, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.001976/0.001976, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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 3.379/3.379, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.05e-05, allocations: 4.031 kB / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00253/0.00256, allocations: 1.302 MB / 0.8787 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006704/0.003231, allocations: 289.8 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.003253, allocations: 0 / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.003267, allocations: 0 / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/0.003331, allocations: 14.27 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.003616, allocations: 52.5 kB / 0.8791 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.448e-05/0.00368, allocations: 17.02 kB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.217e-05/0.003712, allocations: 0 / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.003776, allocations: 17.02 kB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.003827, allocations: 4 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.003842, allocations: 3.938 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.003973, allocations: 53.03 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.003986, allocations: 3.984 kB / 0.8792 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.004006, allocations: 4 kB / 0.8792 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.004161, allocations: 56.48 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004163, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004164, allocations: 1.938 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004168, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 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.0004538/0.004622, allocations: 364.2 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.004657, allocations: 8.031 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.004912, allocations: 32.34 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.00502, allocations: 116.5 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.005031, allocations: 384 / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.005044, allocations: 4.375 kB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.00517, allocations: 67.95 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.005177, allocations: 4.125 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.005186, allocations: 384 / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.005189, allocations: 384 / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.005542, allocations: 23.92 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.005774, allocations: 113.6 kB / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.007796, allocations: 281.6 kB / 0.8802 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.00785, allocations: 23.69 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.007861, allocations: 0.625 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.007895, allocations: 37.38 kB / 0.8802 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.007896, allocations: 0.5938 kB / 0.8802 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002102/0.008107, allocations: 78.41 kB / 0.8803 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.008152, allocations: 51.41 kB / 0.8804 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.008271, allocations: 158.7 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.008293, allocations: 25.7 kB / 0.8805 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.00837, allocations: 128.4 kB / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.008401, allocations: 11.89 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.008449, allocations: 23.38 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002837/0.008733, allocations: 496.1 kB / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.008763, allocations: 12.97 kB / 0.8812 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/0.008779, allocations: 4 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.008841, allocations: 36.42 kB / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008843, allocations: 0 / 0.8812 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.703e-05/0.00894, allocations: 61.72 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.008954, allocations: 8 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.008962, allocations: 3.984 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.008977, allocations: 0 / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.009033, allocations: 4 kB / 0.8813 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.009042, allocations: 4 kB / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.009074, allocations: 3.938 kB / 0.8813 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.009078, allocations: 0 / 0.8813 GB, free: 2.527 MB / 0.8386 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 0.0001174/0.009196, allocations: 156.6 kB / 0.8815 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.009206, allocations: 0 / 0.8815 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.009242, allocations: 7.531 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.009244, allocations: 4 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.00925, allocations: 7.938 kB / 0.8815 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.009258, allocations: 7.922 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.009384, allocations: 112.6 kB / 0.8816 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.009387, allocations: 4 kB / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.00943, allocations: 4 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.009432, allocations: 0 / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.009444, allocations: 8 kB / 0.8816 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.009445, allocations: 0 / 0.8816 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009446, allocations: 3.938 kB / 0.8816 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.009595, allocations: 96.38 kB / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.009641, allocations: 11.94 kB / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.009651, allocations: 0 / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/0.009698, allocations: 0 / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.009716, allocations: 0 / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.009721, allocations: 4 kB / 0.8817 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.906e-05/0.00979, allocations: 123.2 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00979, allocations: 0 / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001897/0.00998, allocations: 15.94 kB / 0.8818 GB, free: 1.898 MB / 0.8386 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.0001239/0.0101, allocations: 95.34 kB / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.01022, allocations: 39.98 kB / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01022, allocations: 0 / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.01025, allocations: 19.69 kB / 0.882 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.01046, allocations: 11.98 kB / 0.882 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.01084, allocations: 122.8 kB / 0.8821 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.068e-05/0.01091, allocations: 67.16 kB / 0.8822 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.373e-05/0.01095, allocations: 7.984 kB / 0.8822 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.01098, allocations: 8.5 kB / 0.8822 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.01098, allocations: 0 / 0.8822 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of Templates: time 0.003247/0.01422, allocations: 0.609 MB / 0.8828 GB, free: 0.8789 MB / 0.8386 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/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.382302850019187]