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.001191/0.001191, 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.001144/0.001144, allocations: 195.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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.17/2.17, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.6284, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002009/0.6304, allocations: 1.259 MB / 0.951 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.6315, allocations: 0.8247 MB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.6315, allocations: 0 / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.6315, allocations: 5.516 kB / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.6316, allocations: 7.938 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.632, allocations: 132.5 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.072e-05/0.6321, allocations: 23.95 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.6321, allocations: 2.5 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.669e-05/0.6322, allocations: 18.33 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.6322, allocations: 3.688 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.6323, allocations: 1.312 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.6325, allocations: 173.9 kB / 0.9521 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.6326, allocations: 13.05 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.6326, allocations: 4.062 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.6328, allocations: 125 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6328, allocations: 1.156 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6328, allocations: 0 / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.6328, allocations: 0 / 0.9522 GB, free: 7.195 MB / 0.7169 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.0003488/0.6332, allocations: 358.7 kB / 0.9526 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.6332, allocations: 13.28 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.6333, allocations: 36.31 kB / 0.9526 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.6333, allocations: 7.844 kB / 0.9526 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.568e-05/0.6334, allocations: 161.9 kB / 0.9528 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.6334, allocations: 28.52 kB / 0.9528 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.6335, allocations: 1.75 kB / 0.9528 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.6336, allocations: 57.8 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.6336, allocations: 1.281 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6336, allocations: 3.984 kB / 0.9529 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.6336, allocations: 1.062 kB / 0.9529 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.6337, allocations: 18.2 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.6339, allocations: 166.4 kB / 0.9531 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.634, allocations: 45.59 kB / 0.9531 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.6341, allocations: 15.77 kB / 0.9531 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/0.6343, allocations: 181.2 kB / 0.9533 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.6344, allocations: 43.64 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6344, allocations: 1.406 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000223/0.6346, allocations: 60.59 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.6346, allocations: 55.39 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.006e-05/0.6347, allocations: 97.7 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.6347, allocations: 27.05 kB / 0.9536 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.199e-05/0.6347, allocations: 88.12 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.6347, allocations: 17.03 kB / 0.9537 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.6347, allocations: 18.77 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.6348, allocations: 310.8 kB / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.6348, allocations: 9.969 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.6349, allocations: 13.67 kB / 0.954 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.635, allocations: 29.69 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.635, allocations: 0 / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001162/0.6351, allocations: 56.09 kB / 0.9541 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.6351, allocations: 9.25 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6351, allocations: 0 / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6351, allocations: 0.9688 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.6352, allocations: 10.3 kB / 0.9541 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6352, allocations: 0 / 0.9541 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.6352, allocations: 5.938 kB / 0.9541 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.6353, allocations: 8.75 kB / 0.9541 GB, free: 5.191 MB / 0.7169 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.227e-05/0.6353, allocations: 116.4 kB / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.6353, allocations: 5.344 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.6355, allocations: 67.52 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6355, allocations: 1.25 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6355, allocations: 0 / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6355, allocations: 1.125 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.132e-05/0.6356, allocations: 162.3 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6356, allocations: 1.25 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.6356, allocations: 6.344 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6356, allocations: 11.97 kB / 0.9545 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.6356, allocations: 1.219 kB / 0.9545 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.6356, allocations: 3.938 kB / 0.9545 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6357, allocations: 0 / 0.9545 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.6358, allocations: 81.11 kB / 0.9546 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.6358, allocations: 91.16 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.6359, allocations: 1.156 kB / 0.9546 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.6359, allocations: 9.062 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.636, allocations: 2.156 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.636, allocations: 5.156 kB / 0.9547 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.873e-05/0.636, allocations: 81.55 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.636, allocations: 1.031 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002168/0.6362, allocations: 31.16 kB / 0.9548 GB, free: 4.508 MB / 0.7169 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.0004013/0.6366, allocations: 0.667 MB / 0.9554 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.6368, allocations: 24.89 kB / 0.9554 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6368, allocations: 0 / 0.9554 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.6368, allocations: 21.61 kB / 0.9555 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.637, allocations: 4.5 kB / 0.9555 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.6374, allocations: 175.7 kB / 0.9556 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.919e-05/0.6375, allocations: 0.6819 MB / 0.9563 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.6375, allocations: 2.906 kB / 0.9563 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.6376, allocations: 13.38 kB / 0.9563 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6376, allocations: 1.125 kB / 0.9563 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.6543, allocations: 1.924 MB / 0.9582 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.865, allocations: 6.984 kB / 0.9582 GB, free: 1.898 MB / 0.7169 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