Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_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.0009105/0.0009103, allocations: 97.33 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.005596/0.005596, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.496/2.496, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004852, allocations: 12.28 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6182/0.6187, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00194/0.6206, allocations: 0.9995 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.6228, allocations: 0.8383 MB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.6228, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.6229, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.6229, allocations: 7.922 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.6236, allocations: 107.6 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.51e-05/0.6236, allocations: 19.92 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.6237, allocations: 4 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.6238, allocations: 19.86 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.6239, allocations: 11.92 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.6239, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.6243, allocations: 175.7 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.6243, allocations: 7.984 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.6243, allocations: 41.62 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.6245, allocations: 114.1 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.6246, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6246, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.6246, allocations: 3.938 kB / 1.025 GB, free: 13.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003735/0.6249, allocations: 355.4 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.625, allocations: 12.03 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.625, allocations: 30.75 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.6251, allocations: 4.938 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.6252, allocations: 168.3 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.6252, allocations: 30.27 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.6253, allocations: 4.375 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.6254, allocations: 49.98 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.6254, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.6254, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.6254, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.6256, allocations: 23.92 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.6257, allocations: 165.6 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.626, allocations: 50.5 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.6261, allocations: 20.94 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.6264, allocations: 186.2 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.6264, allocations: 38.5 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.6264, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002452/0.6267, allocations: 65.67 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.6267, allocations: 51.41 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.909e-05/0.6268, allocations: 98.03 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.6268, allocations: 33.64 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.6269, allocations: 80.14 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.6269, allocations: 15.81 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.6269, allocations: 13.7 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/0.627, allocations: 314.8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.6271, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.6271, allocations: 19.92 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.6272, allocations: 24.84 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6272, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.6274, allocations: 61.69 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6274, allocations: 7.938 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.6274, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6274, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.6275, allocations: 15.92 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.6275, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.6275, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.6275, allocations: 4 kB / 1.027 GB, free: 11.34 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 (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 6.279e-05/0.6276, allocations: 106.4 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.6276, allocations: 11.94 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.6278, allocations: 69.16 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.6278, allocations: 3.984 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6278, allocations: 4 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6278, allocations: 0 / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.896e-05/0.6279, allocations: 153.7 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6279, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.628, allocations: 11.94 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.628, allocations: 3.938 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.628, allocations: 4 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.628, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.628, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.6282, allocations: 85.02 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.6282, allocations: 92.97 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.6283, allocations: 3.938 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.6283, allocations: 4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.6283, allocations: 8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.6284, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.6284, allocations: 83.27 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6284, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002217/0.6286, allocations: 28 kB / 1.028 GB, free: 10.58 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 (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.0004877/0.6291, allocations: 0.673 MB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.6293, allocations: 28.02 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6293, allocations: 0 / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.6293, allocations: 23.92 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.6295, allocations: 8.109 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.6299, allocations: 184.1 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.6301, allocations: 0.6731 MB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.6301, allocations: 4 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.6302, allocations: 15.42 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6302, allocations: 4 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.6417, allocations: 1.709 MB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.6419, allocations: 226.1 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.383, allocations: 3.094 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches