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.0018/0.0018, allocations: 93.47 kB / 19.44 MB, free: 336 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.001999/0.001999, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.394/3.394, allocations: 429.5 MB / 0.6729 GB, free: 4.004 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.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.403e-06/1.403e-06, allocations: 0 / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/2.987e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002621/0.00265, allocations: 1.302 MB / 0.8787 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.004216, allocations: 0.8297 MB / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.004239, allocations: 0 / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.004255, allocations: 0 / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.004311, allocations: 15.58 kB / 0.8795 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.004841, allocations: 123.3 kB / 0.8797 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.004924, allocations: 23.86 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.004968, allocations: 11.97 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.00503, allocations: 11.98 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.005102, allocations: 7.938 kB / 0.8797 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.005119, allocations: 4 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.005463, allocations: 160.6 kB / 0.8799 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.005489, allocations: 11.91 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.005514, allocations: 5.094 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.005816, allocations: 139.6 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.005819, allocations: 0 / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.51e-07/0.00582, allocations: 1.094 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005824, allocations: 0 / 0.88 GB, free: 4.023 MB / 0.8386 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.0005364/0.006361, allocations: 389 kB / 0.8804 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.006397, allocations: 12.03 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.006448, allocations: 8.938 kB / 0.8804 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.006568, allocations: 117.5 kB / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-05/0.006665, allocations: 55.97 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.006678, allocations: 4.312 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.006821, allocations: 68.55 kB / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.006828, allocations: 4.188 kB / 0.8806 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006837, allocations: 0.9688 kB / 0.8807 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.006843, allocations: 4.812 kB / 0.8807 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.693e-05/0.00693, allocations: 15.98 kB / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.007123, allocations: 117.6 kB / 0.8808 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.00734, allocations: 51.05 kB / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.007399, allocations: 20.44 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.007625, allocations: 29.22 kB / 0.8809 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.007659, allocations: 33.39 kB / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.00766, allocations: 1.531 kB / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002407/0.007901, allocations: 61.67 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.007955, allocations: 51.41 kB / 0.881 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.008076, allocations: 162.8 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.008098, allocations: 25.7 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.008169, allocations: 130.9 kB / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.008196, allocations: 16.73 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.00824, allocations: 19.38 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002572/0.008497, allocations: 0.4919 MB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.008542, allocations: 8 kB / 0.8818 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.008577, allocations: 8.359 kB / 0.8819 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/0.008665, allocations: 35.69 kB / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008667, allocations: 0 / 0.8819 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001308/0.008798, allocations: 53.69 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.008813, allocations: 6.5 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.008817, allocations: 0 / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.008829, allocations: 0 / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.008919, allocations: 15.94 kB / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.008927, allocations: 4.562 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/0.008954, allocations: 7.984 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.008959, allocations: 0 / 0.882 GB, free: 1.812 MB / 0.8386 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.000112/0.009071, allocations: 156.6 kB / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.009091, allocations: 11.95 kB / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.009266, allocations: 65.3 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009268, allocations: 0 / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.009271, allocations: 0 / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.00928, allocations: 3.938 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.009397, allocations: 116.6 kB / 0.8823 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.009398, allocations: 0 / 0.8823 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.009441, allocations: 7.984 kB / 0.8823 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.009443, allocations: 7.938 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.009449, allocations: 4 kB / 0.8823 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.00945, allocations: 0 / 0.8823 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00945, allocations: 0 / 0.8823 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.009626, allocations: 96.36 kB / 0.8824 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.009664, allocations: 7.953 kB / 0.8824 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.009675, allocations: 0 / 0.8824 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-05/0.009717, allocations: 4 kB / 0.8824 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.00977, allocations: 7.984 kB / 0.8824 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.009775, allocations: 0 / 0.8824 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.535e-05/0.00985, allocations: 127.1 kB / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.00985, allocations: 4 kB / 0.8826 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002379/0.01009, allocations: 39.86 kB / 0.8826 GB, free: 1.086 MB / 0.8386 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.0002568/0.01035, allocations: 143 kB / 0.8827 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.01048, allocations: 35.61 kB / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01048, allocations: 4 kB / 0.8828 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.01054, allocations: 16.06 kB / 0.8828 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.01073, allocations: 11.98 kB / 0.8828 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.01104, allocations: 126.3 kB / 0.8829 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.28e-05/0.0111, allocations: 63.34 kB / 0.883 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.01114, allocations: 4.078 kB / 0.883 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.01117, allocations: 12.5 kB / 0.883 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.01117, allocations: 4 kB / 0.883 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of Templates: time 0.00443/0.0156, allocations: 1.158 MB / 0.8841 GB, free: 15.47 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] 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: 8.361221632920206]