Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.0019/0.0019, allocations: 92.7 kB / 19.44 MB, free: 324 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.002568/0.002568, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.489/1.489, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.27/3.27, allocations: 429.6 MB / 0.673 GB, free: 3.902 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.015e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.004206/0.004237, allocations: 1.519 MB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.208/0.2123, allocations: 115.8 MB / 0.9922 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.2123, allocations: 7.828 kB / 0.9922 GB, free: 0.7695 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.623e-05/0.2124, allocations: 3.938 kB / 0.9922 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.2124, allocations: 7.875 kB / 0.9922 GB, free: 0.7578 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.2128, allocations: 67.66 kB / 0.9922 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2129, allocations: 51.78 kB / 0.9923 GB, free: 0.6406 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.407e-05/0.213, allocations: 11.98 kB / 0.9923 GB, free: 0.6289 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.2131, allocations: 35.91 kB / 0.9923 GB, free: 0.5938 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.2132, allocations: 23.97 kB / 0.9924 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.2132, allocations: 4 kB / 0.9924 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.2133, allocations: 19.94 kB / 0.9924 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.2133, allocations: 7.984 kB / 0.9924 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.2133, allocations: 11.94 kB / 0.9924 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.2135, allocations: 67.78 kB / 0.9925 GB, free: 472 kB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2135, allocations: 0 / 0.9925 GB, free: 472 kB / 0.948 GB Notification: Performance of FrontEnd: time 3.507e-06/0.2135, allocations: 4 kB / 0.9925 GB, free: 468 kB / 0.948 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2135, allocations: 3.938 kB / 0.9925 GB, free: 464 kB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005932/0.2141, allocations: 298.2 kB / 0.9928 GB, free: 132 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2141, allocations: 8.031 kB / 0.9928 GB, free: 124 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.2144, allocations: 24.75 kB / 0.9928 GB, free: 100 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.2145, allocations: 113.7 kB / 0.9929 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.2145, allocations: 4.375 kB / 0.9929 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2145, allocations: 4.375 kB / 0.9929 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.2148, allocations: 74.2 kB / 0.993 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2148, allocations: 192 / 0.993 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2148, allocations: 4.375 kB / 0.993 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.2148, allocations: 4.375 kB / 0.993 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.2151, allocations: 75.78 kB / 0.9931 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.2156, allocations: 224.5 kB / 0.9933 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.2158, allocations: 62.53 kB / 0.9933 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.216, allocations: 32.92 kB / 0.9934 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.216, allocations: 4 kB / 0.9934 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.216, allocations: 38.44 kB / 0.9934 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.216, allocations: 0 / 0.9934 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0005862/0.2166, allocations: 129.6 kB / 0.9935 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.2167, allocations: 59.41 kB / 0.9936 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2168, allocations: 109.8 kB / 0.9937 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2168, allocations: 29.7 kB / 0.9937 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.2169, allocations: 92.03 kB / 0.9938 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.2169, allocations: 11.94 kB / 0.9938 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.2169, allocations: 13.72 kB / 0.9938 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2171, allocations: 314.8 kB / 0.9941 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.2173, allocations: 39.89 kB / 0.9942 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.2174, allocations: 31.97 kB / 0.9942 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.2177, allocations: 64.78 kB / 0.9943 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2177, allocations: 4 kB / 0.9943 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003721/0.2181, allocations: 109.5 kB / 0.9944 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2181, allocations: 4 kB / 0.9944 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2181, allocations: 0 / 0.9944 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2181, allocations: 0 / 0.9944 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.2183, allocations: 19.97 kB / 0.9944 GB, free: 14.31 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2183, allocations: 3.938 kB / 0.9944 GB, free: 14.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.2184, allocations: 11.98 kB / 0.9944 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2184, allocations: 7.938 kB / 0.9944 GB, free: 14.29 MB / 0.9636 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 (3): * Single equations (assignments): 3 * 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 9.723e-05/0.2185, allocations: 113.8 kB / 0.9945 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.2185, allocations: 7.938 kB / 0.9945 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.2185, allocations: 12 kB / 0.9945 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2185, allocations: 0 / 0.9945 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2185, allocations: 0 / 0.9945 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.2185, allocations: 0 / 0.9945 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.2187, allocations: 113.3 kB / 0.9947 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2187, allocations: 0 / 0.9947 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.2188, allocations: 15.98 kB / 0.9947 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2188, allocations: 4 kB / 0.9947 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2188, allocations: 3.938 kB / 0.9947 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2188, allocations: 0 / 0.9947 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2188, allocations: 0 / 0.9947 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.2193, allocations: 203.7 kB / 0.9949 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.2193, allocations: 4 kB / 0.9949 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2193, allocations: 3.938 kB / 0.9949 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.2194, allocations: 15.98 kB / 0.9949 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.2195, allocations: 12.02 kB / 0.9949 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.2195, allocations: 0 / 0.9949 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.38e-05/0.2196, allocations: 87.28 kB / 0.995 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.2196, allocations: 0 / 0.995 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000261/0.2198, allocations: 15.89 kB / 0.995 GB, free: 13.63 MB / 0.9636 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 (3): * Single equations (assignments): 3 * 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.0001721/0.22, allocations: 99.23 kB / 0.9951 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.2204, allocations: 71.92 kB / 0.9952 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2204, allocations: 0 / 0.9952 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.2206, allocations: 35.91 kB / 0.9952 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.221, allocations: 11.98 kB / 0.9952 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.2215, allocations: 148.5 kB / 0.9954 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.2216, allocations: 67.2 kB / 0.9954 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.958e-05/0.2217, allocations: 4 kB / 0.9954 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.2217, allocations: 8.5 kB / 0.9954 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of SimCode: time 7.71e-07/0.2217, allocations: 0 / 0.9954 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of Templates: time 0.004136/0.2259, allocations: 0.9641 MB / 0.9964 GB, free: 12.2 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.429018953000195]