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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000957/0.0009571, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006143/0.006143, allocations: 168.9 kB / 16.26 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 12 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6268/0.6272, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001506/0.6287, allocations: 1.219 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.6299, allocations: 0.8109 MB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.63, allocations: 4 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.63, allocations: 3.938 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.63, allocations: 11.92 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.6304, allocations: 111.5 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.6305, allocations: 43.86 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.6306, allocations: 19.98 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.6306, allocations: 19.92 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.984e-05/0.6307, allocations: 15.92 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.6307, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.631, allocations: 171.7 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.631, allocations: 11.92 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.6311, allocations: 45.58 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.6313, allocations: 141.9 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.6313, allocations: 4 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6313, allocations: 7.938 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.6314, allocations: 0 / 1.026 GB, free: 13.23 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.0004941/0.6319, allocations: 399.2 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6319, allocations: 12.03 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.6319, allocations: 30.75 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.632, allocations: 8.938 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.6321, allocations: 172.2 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.6321, allocations: 4.375 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.6321, allocations: 4.375 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.6324, allocations: 86.2 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6324, allocations: 7.938 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.6324, allocations: 4 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6324, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.6328, allocations: 91.86 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.6331, allocations: 284.7 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.6333, allocations: 70.53 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.6335, allocations: 48.86 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.6337, allocations: 93.09 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.6337, allocations: 34.56 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.6337, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005596/0.6343, allocations: 161.5 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.6343, allocations: 55.41 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.6344, allocations: 121.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.6344, allocations: 25.7 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.6345, allocations: 96.03 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.6345, allocations: 11.84 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.6345, allocations: 9.719 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.6346, allocations: 322.8 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.6348, allocations: 43.91 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.6349, allocations: 48.12 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.6352, allocations: 96.73 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6353, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003492/0.6356, allocations: 129.5 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6356, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.6356, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6357, allocations: 4 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.6358, allocations: 15.98 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6358, allocations: 7.984 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/0.6359, allocations: 23.92 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.6359, allocations: 0 / 1.028 GB, free: 10.5 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 6.798e-05/0.636, allocations: 110.3 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.636, allocations: 11.98 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.6364, allocations: 125.5 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6364, allocations: 0 / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6364, allocations: 0 / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.6364, allocations: 0 / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.6366, allocations: 181.5 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6366, allocations: 0 / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.843e-05/0.6367, allocations: 23.98 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6367, allocations: 0 / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.6367, allocations: 4 kB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6367, allocations: 0 / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6367, allocations: 3.938 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.6371, allocations: 219.4 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.6372, allocations: 85.02 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.6372, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.6373, allocations: 19.98 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.6374, allocations: 3.984 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.6374, allocations: 0 / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.6374, allocations: 95.27 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6374, allocations: 4 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002688/0.6377, allocations: 27.94 kB / 1.029 GB, free: 9.5 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.0007179/0.6384, allocations: 0.7927 MB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.6388, allocations: 91.92 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6388, allocations: 0 / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.639, allocations: 52.33 kB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.6393, allocations: 4 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.641, allocations: 1.507 MB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.6412, allocations: 0.6848 MB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.6413, allocations: 0 / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.6413, allocations: 23.42 kB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6413, allocations: 0 / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.6724, allocations: 2.111 MB / 1.034 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.6726, allocations: 195 kB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.389, allocations: 3.938 kB / 1.034 GB, free: 3.98 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > 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/jenkins1/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