Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.0007063/0.0007063, allocations: 80.48 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.0008335/0.0008335, allocations: 173.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.9259/0.9259, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.784/1.784, allocations: 377.9 MB / 0.6229 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.056e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002187/0.002217, allocations: 1.294 MB / 0.9835 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009254/0.003142, allocations: 0.767 MB / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.003166, allocations: 0 / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.003183, allocations: 3.938 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.00322, allocations: 4 kB / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.003698, allocations: 143.2 kB / 0.9844 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.995e-05/0.003768, allocations: 27.86 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.298e-05/0.003801, allocations: 0 / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.003852, allocations: 15.98 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.003903, allocations: 7.984 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.003917, allocations: 4 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.004151, allocations: 163.6 kB / 0.9846 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.004166, allocations: 0 / 0.9846 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.004185, allocations: 11.94 kB / 0.9846 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.004387, allocations: 139.6 kB / 0.9847 GB, free: 15.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.00439, allocations: 4 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.004391, allocations: 0 / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.004395, allocations: 3.938 kB / 0.9847 GB, free: 15.5 MB / 0.948 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.0003407/0.004735, allocations: 286.1 kB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.00477, allocations: 11.97 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.004807, allocations: 8.891 kB / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.00488, allocations: 105.8 kB / 0.9851 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/0.004957, allocations: 63.91 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.004965, allocations: 384 / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.005078, allocations: 75.94 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.005084, allocations: 192 / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.005095, allocations: 4.375 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.0051, allocations: 4.125 kB / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.264e-05/0.005152, allocations: 11.98 kB / 0.9853 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.005265, allocations: 113.3 kB / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.005429, allocations: 42.55 kB / 0.9854 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.005461, allocations: 20.94 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.005612, allocations: 27.97 kB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.005631, allocations: 30.56 kB / 0.9855 GB, free: 14.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.005633, allocations: 3.984 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.000163/0.005796, allocations: 65.67 kB / 0.9856 GB, free: 14.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.005823, allocations: 51.41 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.005876, allocations: 101.8 kB / 0.9857 GB, free: 14.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.005889, allocations: 29.7 kB / 0.9857 GB, free: 14.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.099e-05/0.00591, allocations: 80.14 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.005933, allocations: 15.89 kB / 0.9858 GB, free: 14.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.00596, allocations: 21.66 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.006041, allocations: 314.8 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/0.006075, allocations: 15.98 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.006096, allocations: 4 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.772e-05/0.006154, allocations: 32.84 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006156, allocations: 0 / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.376e-05/0.00624, allocations: 53.64 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.006255, allocations: 4 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.00626, allocations: 11.98 kB / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.00627, allocations: 0 / 0.9863 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.477e-05/0.006305, allocations: 7.938 kB / 0.9863 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.006311, allocations: 3.938 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.006328, allocations: 4 kB / 0.9863 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.006334, allocations: 4 kB / 0.9863 GB, free: 13.71 MB / 0.948 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 5.691e-05/0.006391, allocations: 113.8 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.006397, allocations: 3.984 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.006511, allocations: 65.36 kB / 0.9864 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006513, allocations: 4 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.006517, allocations: 3.938 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.00652, allocations: 3.938 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.033e-05/0.006581, allocations: 101.3 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.006582, allocations: 4 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.006604, allocations: 7.984 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006605, allocations: 0 / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.006611, allocations: 3.938 kB / 0.9866 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006612, allocations: 4 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.006615, allocations: 7.984 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.96e-05/0.006705, allocations: 93.56 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.006738, allocations: 7.938 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.006749, allocations: 4 kB / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.006772, allocations: 0 / 0.9867 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.006804, allocations: 7.984 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.006808, allocations: 48 / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.006841, allocations: 87.2 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006841, allocations: 0 / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001735/0.007014, allocations: 39.86 kB / 0.9868 GB, free: 13.09 MB / 0.948 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.0001799/0.007194, allocations: 143.6 kB / 0.9869 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.758e-05/0.007292, allocations: 27.92 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007293, allocations: 0 / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.007321, allocations: 15.98 kB / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.007481, allocations: 4 kB / 0.987 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.007721, allocations: 141.4 kB / 0.9871 GB, free: 12.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.007761, allocations: 71.28 kB / 0.9872 GB, free: 12.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.007782, allocations: 12.5 kB / 0.9872 GB, free: 12.62 MB / 0.948 GB Notification: Performance of SimCode: time 6.42e-07/0.007782, allocations: 0 / 0.9872 GB, free: 12.62 MB / 0.948 GB Notification: Performance of Templates: time 0.001844/0.009626, allocations: 1.038 MB / 0.9882 GB, free: 11.59 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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: 6.886010862886906]