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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 192.9 kB / 16.13 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.91 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8189/0.8209, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002761/0.8237, allocations: 1.558 MB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.825, allocations: 0.8149 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.8251, allocations: 3.938 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.8251, allocations: 3.938 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.8252, allocations: 15.91 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.8256, allocations: 107.6 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.8257, allocations: 47.8 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.8258, allocations: 15.98 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.8259, allocations: 19.92 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.826, allocations: 27.91 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.826, allocations: 0 / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.8263, allocations: 175.8 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.8264, allocations: 11.94 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.8264, allocations: 27.77 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.8267, allocations: 137.7 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8267, allocations: 0 / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8267, allocations: 0 / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.8267, allocations: 0 / 1.019 GB, free: 15.78 MB / 0.7794 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.0005734/0.8273, allocations: 395.2 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.8273, allocations: 12.03 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.8274, allocations: 8.844 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.8275, allocations: 188.1 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.8275, allocations: 4.375 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.8275, allocations: 8.375 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.8278, allocations: 70.22 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.8278, allocations: 192 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.8278, allocations: 3.938 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8278, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.8281, allocations: 75.92 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.8285, allocations: 276.8 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.8287, allocations: 62.53 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.8289, allocations: 36.92 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.8291, allocations: 93.08 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.8291, allocations: 30.56 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.8291, allocations: 3.938 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005335/0.8297, allocations: 133.5 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.8297, allocations: 55.41 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.8298, allocations: 113.8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.8298, allocations: 25.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.8299, allocations: 96.12 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.8299, allocations: 11.84 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.83, allocations: 13.72 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.8301, allocations: 322.8 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.8302, allocations: 31.97 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.8304, allocations: 31.95 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.8306, allocations: 72.73 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.8306, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003128/0.831, allocations: 105.5 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.831, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.831, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.831, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.8311, allocations: 11.98 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.8312, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.8312, allocations: 11.98 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.8312, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 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.021e-05/0.8313, allocations: 118.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.8314, allocations: 15.89 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.8317, allocations: 109.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.8317, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.8318, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8318, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.8319, allocations: 181.6 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8319, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.832, allocations: 19.98 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8321, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.8321, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8321, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8321, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.8324, allocations: 211.2 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.8325, allocations: 77.53 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.8325, allocations: 4 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.8326, allocations: 11.98 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.8327, allocations: 7.984 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.8327, allocations: 0 / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.8327, allocations: 95.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8327, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002673/0.833, allocations: 35.94 kB / 1.023 GB, free: 12.29 MB / 0.7794 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.0002111/0.8332, allocations: 127.2 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.8336, allocations: 71.91 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8336, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.8337, allocations: 43.89 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.8341, allocations: 18.94 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.8344, allocations: 152.8 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.8346, allocations: 0.6887 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.8347, allocations: 4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.8347, allocations: 11.44 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8347, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.003548/0.8383, allocations: 1.223 MB / 1.025 GB, free: 9.902 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (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 & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches