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.002721/0.002721, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.003252/0.003252, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.534/1.534, allocations: 177.1 MB / 203.9 MB, free: 5.629 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.83/2.83, allocations: 359 MB / 0.6048 GB, free: 10.96 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 2.365e-06/2.365e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.879e-05/4.116e-05, allocations: 6.969 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.004603/0.004645, allocations: 1.297 MB / 0.7876 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.007539, allocations: 0.834 MB / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.007573, allocations: 0 / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.007594, allocations: 1.969 kB / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.007668, allocations: 0 / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.008714, allocations: 140.2 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.008855, allocations: 23.86 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.008911, allocations: 4 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.9e-05/0.00901, allocations: 12.73 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.0091, allocations: 11.97 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.009123, allocations: 2.594 kB / 0.7887 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/0.009765, allocations: 163.7 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.009793, allocations: 4 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.009828, allocations: 7.984 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.01032, allocations: 139.5 kB / 0.789 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01032, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01032, allocations: 0 / 0.789 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.01033, allocations: 1.625 kB / 0.789 GB, free: 10.2 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.0007853/0.01111, allocations: 384 kB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.01116, allocations: 8.031 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.01124, allocations: 13.48 kB / 0.7893 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.01142, allocations: 116.5 kB / 0.7895 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.01157, allocations: 60.64 kB / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.0116, allocations: 384 / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.01183, allocations: 72.86 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01184, allocations: 4.125 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.01185, allocations: 1.75 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.01187, allocations: 4.125 kB / 0.7896 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.01202, allocations: 19.98 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.01229, allocations: 112.6 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.01266, allocations: 53 kB / 0.7898 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.01275, allocations: 15.77 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003814/0.01313, allocations: 33.45 kB / 0.7898 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.01319, allocations: 37.38 kB / 0.7898 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.01319, allocations: 0 / 0.7898 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0004277/0.01362, allocations: 61.64 kB / 0.7899 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.01368, allocations: 53.34 kB / 0.79 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.01388, allocations: 170 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.01392, allocations: 25.7 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.01403, allocations: 126.9 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.01408, allocations: 11.95 kB / 0.7903 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.01416, allocations: 25.89 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004131/0.01457, allocations: 0.4884 MB / 0.7908 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/0.01465, allocations: 7.938 kB / 0.7908 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.01472, allocations: 11.98 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.01488, allocations: 23.69 kB / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01488, allocations: 0 / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002472/0.01513, allocations: 49.69 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.01516, allocations: 12.52 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.01517, allocations: 4.719 kB / 0.7909 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01519, allocations: 0 / 0.7909 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.01529, allocations: 8.531 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.0153, allocations: 7.875 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.01534, allocations: 5.625 kB / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.01535, allocations: 0 / 0.7909 GB, free: 7.984 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 0.0001785/0.01553, allocations: 156.6 kB / 0.7911 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.01555, allocations: 0.5938 kB / 0.7911 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.01586, allocations: 73.28 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01586, allocations: 0.5938 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.01587, allocations: 0 / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.01588, allocations: 8.703 kB / 0.7911 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.01607, allocations: 116.6 kB / 0.7912 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01607, allocations: 1.156 kB / 0.7912 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.01615, allocations: 8 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01616, allocations: 0 / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01617, allocations: 4.922 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01617, allocations: 3.938 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01617, allocations: 4.75 kB / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.01648, allocations: 96.33 kB / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.01653, allocations: 5.078 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01656, allocations: 4 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.01663, allocations: 4 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.01668, allocations: 0.8438 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01669, allocations: 4 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001179/0.01681, allocations: 127.5 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/0.01681, allocations: 1.469 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004625/0.01727, allocations: 35.88 kB / 0.7915 GB, free: 7.27 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.0004155/0.01769, allocations: 144.1 kB / 0.7917 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.01793, allocations: 35.75 kB / 0.7917 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.01793, allocations: 2 kB / 0.7917 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.01805, allocations: 27.75 kB / 0.7917 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.01836, allocations: 8 kB / 0.7917 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.01884, allocations: 126.2 kB / 0.7919 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.01895, allocations: 61.7 kB / 0.7919 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.851e-05/0.01901, allocations: 5.016 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.01906, allocations: 12.5 kB / 0.7919 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01906, allocations: 1.188 kB / 0.7919 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of Templates: time 0.007522/0.02658, allocations: 1.153 MB / 0.7931 GB, free: 5.672 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] 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.846694236970507]