Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_9_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.007219/0.007219, allocations: 102.4 kB / 15.73 MB, free: 6.016 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.001681/0.001681, allocations: 192 kB / 16.67 MB, free: 5.934 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.09 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.79, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002056/0.7921, allocations: 1.27 MB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.7933, allocations: 0.8176 MB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.7933, allocations: 4.875 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.7933, allocations: 4.594 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.7934, allocations: 5.641 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.7939, allocations: 130.6 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.794, allocations: 27.59 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.794, allocations: 2.781 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.7941, allocations: 11.89 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.7941, allocations: 14.86 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.7941, allocations: 2.156 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.7945, allocations: 165.3 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.7945, allocations: 2.312 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.7945, allocations: 13.11 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.7948, allocations: 121.2 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7948, allocations: 0 / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7948, allocations: 4.5 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.7948, allocations: 1.312 kB / 1.09 GB, free: 3.656 MB / 0.8575 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.0003672/0.7952, allocations: 364.2 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.7952, allocations: 9.5 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.7953, allocations: 32.62 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.7953, allocations: 7.031 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.547e-05/0.7954, allocations: 163.1 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/0.7955, allocations: 35.34 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.7955, allocations: 5.516 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.7956, allocations: 46.98 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7956, allocations: 9.281 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.7956, allocations: 0.6094 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.7956, allocations: 1.125 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.982e-05/0.7957, allocations: 21.25 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.7959, allocations: 159.8 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.7961, allocations: 45.52 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.7961, allocations: 17.66 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.7964, allocations: 185.9 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.7964, allocations: 36.58 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.7964, allocations: 0 / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002489/0.7967, allocations: 68.31 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.7967, allocations: 56.16 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.545e-05/0.7968, allocations: 99.67 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.7968, allocations: 26.77 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.117e-05/0.7968, allocations: 84.14 kB / 1.091 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.7968, allocations: 10.81 kB / 1.091 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.7969, allocations: 18.42 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.7969, allocations: 312.9 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.7969, allocations: 7.922 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.797, allocations: 16.25 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.7971, allocations: 29.03 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7971, allocations: 0 / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001233/0.7972, allocations: 58.12 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.7972, allocations: 9.125 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.7973, allocations: 0 / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.7973, allocations: 1.609 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.7973, allocations: 8.328 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.7974, allocations: 7.984 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.7974, allocations: 3.281 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.7974, allocations: 0.9062 kB / 1.092 GB, free: 1.723 MB / 0.8575 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 4.47e-05/0.7975, allocations: 112.6 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.7975, allocations: 10.58 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.7976, allocations: 74.95 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7977, allocations: 1.344 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.7977, allocations: 0 / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7977, allocations: 6.172 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.234e-05/0.7977, allocations: 153.7 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7977, allocations: 0.7188 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.7978, allocations: 7.969 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.7978, allocations: 5 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.7978, allocations: 0.7969 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7978, allocations: 1.344 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7978, allocations: 3.938 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.798, allocations: 87.89 kB / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.798, allocations: 92.06 kB / 1.092 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.798, allocations: 6 kB / 1.092 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.7981, allocations: 3.391 kB / 1.092 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.7981, allocations: 2.875 kB / 1.092 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.7981, allocations: 6.406 kB / 1.092 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.674e-05/0.7981, allocations: 77.97 kB / 1.092 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7981, allocations: 0.9062 kB / 1.092 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002305/0.7984, allocations: 36.11 kB / 1.093 GB, free: 1.059 MB / 0.8575 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.0004658/0.7989, allocations: 0.6592 MB / 1.093 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.799, allocations: 30.55 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.799, allocations: 0.7188 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.7991, allocations: 16.55 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.7993, allocations: 8.75 kB / 1.093 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.7997, allocations: 167.4 kB / 1.093 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.8, allocations: 0.6761 MB / 1.094 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.168e-05/0.8, allocations: 7.531 kB / 1.094 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.8001, allocations: 15 kB / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.8001, allocations: 0 / 1.094 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.8171, allocations: 1.952 MB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/8.106, allocations: 1.344 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches