Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008316/0.0008316, allocations: 72.5 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.0008453/0.0008453, allocations: 177.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.903/0.903, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.997e-05, allocations: 6.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001472/0.001492, allocations: 1.285 MB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.002517, allocations: 0.7716 MB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.002535, allocations: 0 / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.002553, allocations: 7.984 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.002598, allocations: 7.938 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.002999, allocations: 131.2 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.092e-05/0.00307, allocations: 23.92 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.003109, allocations: 4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.00316, allocations: 15.92 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.003215, allocations: 11.98 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.003229, allocations: 7.984 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.003431, allocations: 159.7 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.003449, allocations: 7.984 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.003466, allocations: 4 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.003659, allocations: 139.6 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003661, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.725e-06/0.003664, allocations: 7.984 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003667, allocations: 0 / 1.003 GB, free: 10.42 MB / 0.9636 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.000339/0.004006, allocations: 282 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.004042, allocations: 8.75 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.004077, allocations: 12.88 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.334e-05/0.00415, allocations: 105.8 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/0.004219, allocations: 59.97 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.004227, allocations: 384 / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.004338, allocations: 71.94 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004345, allocations: 4.188 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.004354, allocations: 384 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.00436, allocations: 4.125 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.004416, allocations: 15.98 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.004526, allocations: 113.3 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.00469, allocations: 46.5 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.004721, allocations: 16.86 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.004864, allocations: 24.06 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.004881, allocations: 30.56 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.004882, allocations: 0 / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001645/0.005046, allocations: 69.62 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.005072, allocations: 63.34 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.725e-05/0.005119, allocations: 101.8 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.00513, allocations: 29.7 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.005148, allocations: 80.14 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.005172, allocations: 15.84 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.005196, allocations: 13.72 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.005267, allocations: 322.8 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.005294, allocations: 11.94 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.005315, allocations: 11.98 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.00537, allocations: 36.84 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005372, allocations: 0 / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.036e-05/0.005442, allocations: 53.62 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.005453, allocations: 8 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.005461, allocations: 0 / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.005472, allocations: 0 / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.254e-05/0.005504, allocations: 11.98 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.005511, allocations: 7.938 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.005525, allocations: 0 / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.005529, allocations: 0 / 1.005 GB, free: 8.629 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 (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 4.783e-05/0.005576, allocations: 113.8 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-06/0.005581, allocations: 0 / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.005685, allocations: 69.86 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.005687, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.005691, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.005696, allocations: 11.91 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.954e-05/0.005756, allocations: 113.3 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.005757, allocations: 0 / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.005775, allocations: 8 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005776, allocations: 4 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.005782, allocations: 4 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005784, allocations: 3.984 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.005785, allocations: 0 / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.927e-05/0.005864, allocations: 77.06 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.005898, allocations: 15.92 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.005907, allocations: 0 / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/0.00593, allocations: 0 / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.005961, allocations: 7.984 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.005964, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.676e-05/0.00599, allocations: 91.22 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005991, allocations: 3.938 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001528/0.006143, allocations: 35.81 kB / 1.006 GB, free: 8.008 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 (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.0001477/0.006291, allocations: 139.1 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.006385, allocations: 31.97 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.00639, allocations: 0 / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.006414, allocations: 8 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.006558, allocations: 19.78 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.006784, allocations: 134.6 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.006819, allocations: 67.28 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.006837, allocations: 8.5 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.006837, allocations: 0 / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of Templates: time 0.001744/0.008581, allocations: 1.049 MB / 1.007 GB, free: 6.504 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.6722990507259965]