Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.34/2.34, allocations: 443.5 MB / 0.7304 GB, free: 14.09 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 67.89 kB / 1.059 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2722, allocations: 160.7 MB / 1.216 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002678/0.2749, allocations: 1.522 MB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2761, allocations: 0.8233 MB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.2762, allocations: 3.938 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.2762, allocations: 0 / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.2762, allocations: 11.86 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.2767, allocations: 135.4 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.113e-05/0.2768, allocations: 55.78 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.2769, allocations: 16.22 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.2769, allocations: 15.92 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.277, allocations: 27.91 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.277, allocations: 4 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2773, allocations: 175.7 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.2773, allocations: 11.88 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.2774, allocations: 19.92 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.2776, allocations: 151.5 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2776, allocations: 4 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2777, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2777, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005674/0.2782, allocations: 391 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2783, allocations: 12.03 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.2783, allocations: 38.67 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.2783, allocations: 12.83 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.2785, allocations: 168.3 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2785, allocations: 12.38 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.2785, allocations: 384 / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2787, allocations: 78.19 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2787, allocations: 3.938 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2787, allocations: 0 / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2787, allocations: 4 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.279, allocations: 71.86 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.2794, allocations: 284.8 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.2796, allocations: 50.55 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.2798, allocations: 44.91 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.2799, allocations: 89.09 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.28, allocations: 34.5 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.28, allocations: 0 / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005337/0.2805, allocations: 125.6 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2805, allocations: 55.41 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2806, allocations: 117.8 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2807, allocations: 25.7 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.2807, allocations: 92.09 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.2807, allocations: 11.89 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.2808, allocations: 17.7 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2809, allocations: 322.8 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.2811, allocations: 31.97 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2812, allocations: 35.89 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.2815, allocations: 77.05 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2815, allocations: 0 / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003224/0.2818, allocations: 97.58 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2818, allocations: 4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2818, allocations: 3.938 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2818, allocations: 4 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2819, allocations: 15.98 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2819, allocations: 3.984 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.282, allocations: 15.92 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.282, allocations: 0 / 1.221 GB, free: 10.42 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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 8.748e-05/0.2821, allocations: 121.7 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.2821, allocations: 7.953 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/0.2825, allocations: 109.5 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2825, allocations: 0 / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2825, allocations: 0 / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2825, allocations: 0 / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.2827, allocations: 173.6 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2827, allocations: 0 / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.165e-05/0.2828, allocations: 19.98 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2828, allocations: 0 / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.2828, allocations: 0 / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2828, allocations: 7.984 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2828, allocations: 0 / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.2832, allocations: 195.4 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.2832, allocations: 85.06 kB / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2832, allocations: 0 / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2833, allocations: 19.97 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.2834, allocations: 4 kB / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2834, allocations: 0 / 1.221 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.456e-05/0.2834, allocations: 91.27 kB / 1.221 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.2834, allocations: 0 / 1.221 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002568/0.2837, allocations: 35.88 kB / 1.221 GB, free: 9.457 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.0007655/0.2845, allocations: 0.7669 MB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.2848, allocations: 71.92 kB / 1.222 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2848, allocations: 0 / 1.222 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2849, allocations: 35.95 kB / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.2852, allocations: 12.7 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.287, allocations: 1.43 MB / 1.224 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.2874, allocations: 0.6846 MB / 1.224 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.2874, allocations: 8 kB / 1.224 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.2874, allocations: 19.42 kB / 1.224 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of SimCode: time 3.7e-07/0.2874, allocations: 0 / 1.224 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.3119, allocations: 2.434 MB / 1.227 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.407, allocations: 14.44 kB / 1.227 GB, free: 3.945 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.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: 12.654214221001894]