Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001843/0.001843, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002511/0.002511, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.492/1.492, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.758/2.758, allocations: 359 MB / 0.6048 GB, free: 10.95 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.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.109e-05, allocations: 8.922 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00264/0.002672, allocations: 1.301 MB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.004172, allocations: 0.7681 MB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.004191, allocations: 3.938 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.004209, allocations: 1.219 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.004248, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.004808, allocations: 140.7 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.004885, allocations: 23.86 kB / 0.7886 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.004918, allocations: 5.531 kB / 0.7886 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.105e-05/0.004979, allocations: 11.98 kB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.00504, allocations: 11.97 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.005056, allocations: 4 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.005418, allocations: 164.2 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.005434, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.005461, allocations: 9.047 kB / 0.7888 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.005774, allocations: 139.5 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005777, allocations: 1.906 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005778, allocations: 0 / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.005782, allocations: 0 / 0.7889 GB, free: 10.27 MB / 0.7448 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.0006837/0.006466, allocations: 282.1 kB / 0.7892 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.006504, allocations: 12.03 kB / 0.7892 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.006557, allocations: 13.58 kB / 0.7892 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.006682, allocations: 105.7 kB / 0.7893 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.006789, allocations: 61.02 kB / 0.7893 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.0068, allocations: 384 / 0.7893 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.006964, allocations: 77.48 kB / 0.7894 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.006971, allocations: 192 / 0.7894 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.00698, allocations: 384 / 0.7894 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.006989, allocations: 8.109 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.007098, allocations: 21.73 kB / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.007258, allocations: 105.4 kB / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.007478, allocations: 50.48 kB / 0.7896 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.007539, allocations: 12.86 kB / 0.7896 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.007789, allocations: 30.56 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.007826, allocations: 38.5 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.007827, allocations: 0 / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002732/0.008101, allocations: 70.25 kB / 0.7897 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.008145, allocations: 53.06 kB / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.008237, allocations: 101.8 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.008262, allocations: 29.7 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.008308, allocations: 80.14 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.008334, allocations: 9.703 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.008378, allocations: 21.67 kB / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.008559, allocations: 314.8 kB / 0.7903 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.008616, allocations: 11.98 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.831e-05/0.008664, allocations: 12.61 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.008768, allocations: 29.7 kB / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008769, allocations: 0 / 0.7904 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001534/0.008923, allocations: 59.61 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.008936, allocations: 4 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.008943, allocations: 4 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.008958, allocations: 0 / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.009017, allocations: 8 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.009024, allocations: 6.094 kB / 0.7905 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.00906, allocations: 7.984 kB / 0.7905 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.009065, allocations: 0 / 0.7905 GB, free: 8.484 MB / 0.7448 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 9.607e-05/0.009161, allocations: 113.8 kB / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.009177, allocations: 4 kB / 0.7906 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.009376, allocations: 73.81 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.009379, allocations: 1.281 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.009383, allocations: 0 / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.009389, allocations: 4.469 kB / 0.7906 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.009518, allocations: 106.9 kB / 0.7908 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.009519, allocations: 0 / 0.7908 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.009568, allocations: 8 kB / 0.7908 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.00957, allocations: 0 / 0.7908 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.009576, allocations: 0.5312 kB / 0.7908 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.00958, allocations: 7.938 kB / 0.7908 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.009583, allocations: 5.297 kB / 0.7908 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.009775, allocations: 92.94 kB / 0.7909 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.009814, allocations: 11.98 kB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.009826, allocations: 1.156 kB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.009874, allocations: 0 / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.009914, allocations: 4 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.009919, allocations: 1.375 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.009978, allocations: 91.2 kB / 0.791 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009978, allocations: 0 / 0.791 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002485/0.01023, allocations: 32.78 kB / 0.791 GB, free: 7.875 MB / 0.7448 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.0002839/0.01051, allocations: 143.9 kB / 0.7911 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.01067, allocations: 29.2 kB / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.01067, allocations: 4 kB / 0.7912 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.01073, allocations: 11.98 kB / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.01096, allocations: 12.52 kB / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.01128, allocations: 117.4 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.776e-05/0.01135, allocations: 57.05 kB / 0.7914 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.401e-05/0.01139, allocations: 16.27 kB / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.01142, allocations: 12.5 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01142, allocations: 0 / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of Templates: time 0.004205/0.01563, allocations: 1.134 MB / 0.7925 GB, free: 6.332 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.638050460955128]