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.001521/0.001521, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001723/0.001723, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.476/1.476, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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 2.697/2.697, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.352e-06/1.352e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.864e-05, allocations: 3.219 kB / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002762/0.002791, allocations: 1.279 MB / 0.7876 GB, free: 10.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.003424, allocations: 276.5 kB / 0.7879 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.00345, allocations: 4 kB / 0.7879 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.00347, allocations: 1.188 kB / 0.7879 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.342e-05/0.003514, allocations: 0 / 0.7879 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.003844, allocations: 59.52 kB / 0.7879 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.698e-05/0.003911, allocations: 23.86 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.003947, allocations: 4 kB / 0.788 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.004004, allocations: 7.984 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.004046, allocations: 4 kB / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.004059, allocations: 0 / 0.788 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.004188, allocations: 51.94 kB / 0.788 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.004203, allocations: 4 kB / 0.788 GB, free: 10 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.00423, allocations: 7.938 kB / 0.788 GB, free: 9.996 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.00438, allocations: 56.84 kB / 0.7881 GB, free: 9.941 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004382, allocations: 0 / 0.7881 GB, free: 9.941 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004383, allocations: 0 / 0.7881 GB, free: 9.941 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.004386, allocations: 0.5938 kB / 0.7881 GB, free: 9.941 MB / 0.698 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.0004229/0.004809, allocations: 263.6 kB / 0.7884 GB, free: 9.652 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.00485, allocations: 12.03 kB / 0.7884 GB, free: 9.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.005121, allocations: 26.33 kB / 0.7884 GB, free: 9.617 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.005241, allocations: 101.8 kB / 0.7885 GB, free: 9.492 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.005255, allocations: 384 / 0.7885 GB, free: 9.492 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.005268, allocations: 4.375 kB / 0.7885 GB, free: 9.488 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.00542, allocations: 73.42 kB / 0.7886 GB, free: 9.406 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.005429, allocations: 192 / 0.7886 GB, free: 9.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.005441, allocations: 384 / 0.7886 GB, free: 9.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.005445, allocations: 384 / 0.7886 GB, free: 9.406 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.005512, allocations: 23.92 kB / 0.7886 GB, free: 9.383 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.005698, allocations: 110.7 kB / 0.7887 GB, free: 9.246 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.00775, allocations: 264.4 kB / 0.7889 GB, free: 8.984 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.007808, allocations: 21.81 kB / 0.789 GB, free: 8.961 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.007825, allocations: 3.938 kB / 0.789 GB, free: 8.957 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.007865, allocations: 34.56 kB / 0.789 GB, free: 8.914 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.007866, allocations: 0.75 kB / 0.789 GB, free: 8.914 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002046/0.008071, allocations: 58.28 kB / 0.7891 GB, free: 8.852 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.008122, allocations: 59.34 kB / 0.7891 GB, free: 8.781 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.008209, allocations: 99.14 kB / 0.7892 GB, free: 8.676 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.008235, allocations: 29.69 kB / 0.7892 GB, free: 8.641 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.00828, allocations: 80.14 kB / 0.7893 GB, free: 8.559 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.008316, allocations: 12.97 kB / 0.7893 GB, free: 8.547 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.00836, allocations: 17.72 kB / 0.7893 GB, free: 8.523 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.008528, allocations: 310.8 kB / 0.7896 GB, free: 8.211 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.008562, allocations: 20.8 kB / 0.7897 GB, free: 8.191 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.008583, allocations: 8 kB / 0.7897 GB, free: 8.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.631e-05/0.008649, allocations: 25.7 kB / 0.7897 GB, free: 8.156 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.008651, allocations: 0 / 0.7897 GB, free: 8.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/0.008752, allocations: 55.81 kB / 0.7897 GB, free: 8.098 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.00877, allocations: 8 kB / 0.7897 GB, free: 8.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008775, allocations: 0 / 0.7897 GB, free: 8.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.008794, allocations: 0 / 0.7897 GB, free: 8.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.008857, allocations: 4 kB / 0.7898 GB, free: 8.086 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.008866, allocations: 3.938 kB / 0.7898 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.008903, allocations: 4.438 kB / 0.7898 GB, free: 8.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.008911, allocations: 10.58 kB / 0.7898 GB, free: 8.07 MB / 0.698 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.0001066/0.009017, allocations: 109.8 kB / 0.7899 GB, free: 7.953 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.009034, allocations: 4 kB / 0.7899 GB, free: 7.949 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.009072, allocations: 7.531 kB / 0.7899 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009074, allocations: 0 / 0.7899 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.00908, allocations: 0 / 0.7899 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.009085, allocations: 3.938 kB / 0.7899 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.009214, allocations: 114.9 kB / 0.79 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009215, allocations: 0 / 0.79 GB, free: 7.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.009267, allocations: 7.984 kB / 0.79 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009269, allocations: 0 / 0.79 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.009275, allocations: 0.5 kB / 0.79 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.009279, allocations: 3.984 kB / 0.79 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.00928, allocations: 0.5625 kB / 0.79 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.009413, allocations: 86.86 kB / 0.7901 GB, free: 7.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.009457, allocations: 8.031 kB / 0.7901 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.009471, allocations: 7.938 kB / 0.7901 GB, free: 7.664 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.009541, allocations: 3.984 kB / 0.7901 GB, free: 7.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.009556, allocations: 1.094 kB / 0.7901 GB, free: 7.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.009561, allocations: 4 kB / 0.7901 GB, free: 7.656 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.009611, allocations: 75.94 kB / 0.7902 GB, free: 7.582 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.009611, allocations: 0 / 0.7902 GB, free: 7.582 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001915/0.009802, allocations: 12.84 kB / 0.7902 GB, free: 7.57 MB / 0.698 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.0003065/0.01011, allocations: 107 kB / 0.7903 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.566e-05/0.0102, allocations: 19.98 kB / 0.7903 GB, free: 7.441 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01021, allocations: 0 / 0.7903 GB, free: 7.441 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.01024, allocations: 19.92 kB / 0.7903 GB, free: 7.422 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.01051, allocations: 12 kB / 0.7904 GB, free: 7.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.01086, allocations: 116.8 kB / 0.7905 GB, free: 7.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.654e-05/0.01093, allocations: 64.5 kB / 0.7905 GB, free: 7.188 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.468e-05/0.01098, allocations: 3.25 kB / 0.7905 GB, free: 7.188 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.01102, allocations: 12.5 kB / 0.7905 GB, free: 7.172 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.01102, allocations: 0 / 0.7905 GB, free: 7.172 MB / 0.698 GB Notification: Performance of Templates: time 0.003196/0.01421, allocations: 0.6033 MB / 0.7911 GB, free: 6.594 MB / 0.698 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: 7.424816401908174]