Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_11_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.001453/0.001453, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 65.47 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3303, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002359/0.3327, allocations: 1.27 MB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.334, allocations: 0.8351 MB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.334, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.334, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.3341, allocations: 11.92 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.3345, allocations: 131.4 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.796e-05/0.3346, allocations: 27.86 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.3346, allocations: 4 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.3347, allocations: 7.984 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.3347, allocations: 15.92 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3348, allocations: 4 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.3351, allocations: 167.7 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.3351, allocations: 11.98 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.3351, allocations: 11.92 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3354, allocations: 108.1 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.3354, allocations: 7.938 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3354, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.3354, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 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.0004659/0.3359, allocations: 359.4 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3359, allocations: 8.031 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.336, allocations: 34.75 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.336, allocations: 8.844 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3361, allocations: 168.4 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.3362, allocations: 30.27 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.3362, allocations: 384 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3364, allocations: 49.94 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3364, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3364, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3364, allocations: 4 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-05/0.3365, allocations: 23.92 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.3367, allocations: 157.7 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3369, allocations: 42.61 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.3369, allocations: 16.94 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/0.3372, allocations: 186.2 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3373, allocations: 38.44 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3373, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002345/0.3375, allocations: 69.8 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3376, allocations: 51.41 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.3376, allocations: 97.84 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3377, allocations: 29.7 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.3377, allocations: 84.14 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.3377, allocations: 11.81 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.3378, allocations: 17.72 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3379, allocations: 314.8 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.338, allocations: 11.98 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.338, allocations: 15.92 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.823e-05/0.3381, allocations: 24.86 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3381, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001313/0.3383, allocations: 61.67 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3383, allocations: 7.938 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.3383, allocations: 0 / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3383, allocations: 0 / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.3384, allocations: 8 kB / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3384, allocations: 0 / 1.068 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.3384, allocations: 11.83 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.3384, allocations: 4 kB / 1.068 GB, free: 9.379 MB / 0.8262 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 7.83e-05/0.3385, allocations: 117.8 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.3385, allocations: 7.938 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.3387, allocations: 61.17 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3387, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3387, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3387, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.3388, allocations: 157.7 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3388, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.3389, allocations: 11.98 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3389, allocations: 7.938 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.3389, allocations: 0 / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3389, allocations: 0 / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3389, allocations: 3.938 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.3391, allocations: 81.11 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.3392, allocations: 88.95 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.3392, allocations: 7.938 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.3392, allocations: 7.984 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.3393, allocations: 4.469 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.3393, allocations: 0 / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.3393, allocations: 87.27 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3393, allocations: 0 / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000235/0.3396, allocations: 35.92 kB / 1.069 GB, free: 8.605 MB / 0.8262 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.0005523/0.3401, allocations: 0.6591 MB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.3403, allocations: 31.97 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3403, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.3404, allocations: 15.94 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.3406, allocations: 13.39 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.341, allocations: 160.8 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3412, allocations: 0.6768 MB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.3413, allocations: 4 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.3413, allocations: 15.44 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3413, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4864/0.8277, allocations: 1.921 MB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.21, allocations: 1.25 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches