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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001079/0.001079, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.6008, allocations: 140.4 MB / 0.949 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001918/0.6028, allocations: 1.325 MB / 0.9503 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.6037, allocations: 0.8483 MB / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.241e-05/0.6038, allocations: 0 / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.6038, allocations: 0 / 0.9512 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.6038, allocations: 9.25 kB / 0.9512 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.6042, allocations: 111.2 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.6042, allocations: 32.22 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.6043, allocations: 1.375 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.6043, allocations: 13.42 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.6043, allocations: 13.48 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.6044, allocations: 5.312 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.6046, allocations: 171.7 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.6046, allocations: 1.344 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.6047, allocations: 17.03 kB / 0.9515 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.6049, allocations: 112.7 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6049, allocations: 1.188 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.61e-07/0.6049, allocations: 0 / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6049, allocations: 0 / 0.9516 GB, free: 7.281 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.0002931/0.6052, allocations: 367.2 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6052, allocations: 9.906 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.114e-05/0.6052, allocations: 30.75 kB / 0.952 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.6053, allocations: 7.938 kB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.782e-05/0.6053, allocations: 170 kB / 0.9522 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/0.6054, allocations: 28.8 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.6054, allocations: 5.688 kB / 0.9522 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.6055, allocations: 46 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.6055, allocations: 1.344 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.6055, allocations: 0 / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.6056, allocations: 4 kB / 0.9523 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.6056, allocations: 15.77 kB / 0.9523 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.542e-05/0.6058, allocations: 169.7 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.6059, allocations: 45.67 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.606, allocations: 19.47 kB / 0.9525 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.6062, allocations: 177.7 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.6062, allocations: 43.62 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.6062, allocations: 1.594 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002235/0.6065, allocations: 67.83 kB / 0.9528 GB, free: 6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.49e-05/0.6065, allocations: 52.53 kB / 0.9528 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.605e-05/0.6065, allocations: 97.12 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.6065, allocations: 26.86 kB / 0.953 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-06/0.6066, allocations: 80.14 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.6066, allocations: 13.09 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.6066, allocations: 17.44 kB / 0.9531 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.226e-05/0.6066, allocations: 316.1 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.6067, allocations: 10.45 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.6067, allocations: 13.48 kB / 0.9534 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.188e-05/0.6068, allocations: 34.44 kB / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.6068, allocations: 0 / 0.9534 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001149/0.607, allocations: 62.67 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.607, allocations: 13.38 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.607, allocations: 1.25 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.607, allocations: 0 / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.6071, allocations: 6.281 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6071, allocations: 1.219 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.6071, allocations: 5.016 kB / 0.9535 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.6071, allocations: 1.625 kB / 0.9535 GB, free: 5.277 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 3.761e-05/0.6071, allocations: 107.4 kB / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.6072, allocations: 9.406 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.6073, allocations: 75.16 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6073, allocations: 1.656 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6073, allocations: 0 / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.6073, allocations: 0 / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.766e-05/0.6074, allocations: 159.5 kB / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6074, allocations: 0 / 0.9539 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.6075, allocations: 10.52 kB / 0.9539 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6075, allocations: 3.938 kB / 0.9539 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.6075, allocations: 1.125 kB / 0.9539 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6075, allocations: 5.062 kB / 0.9539 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6075, allocations: 0 / 0.9539 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.6076, allocations: 80.77 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.6077, allocations: 86.3 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.6077, allocations: 1.281 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.6077, allocations: 10.61 kB / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.6078, allocations: 9.844 kB / 0.954 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.6078, allocations: 5.625 kB / 0.9541 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.637e-05/0.6078, allocations: 76.59 kB / 0.9541 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6078, allocations: 1.688 kB / 0.9541 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002147/0.608, allocations: 38.14 kB / 0.9542 GB, free: 4.59 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.0003464/0.6084, allocations: 0.6567 MB / 0.9548 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.6085, allocations: 33.67 kB / 0.9548 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6085, allocations: 0 / 0.9548 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.6086, allocations: 14.25 kB / 0.9549 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.6088, allocations: 10.8 kB / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.6091, allocations: 176.2 kB / 0.955 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.6092, allocations: 0.6812 MB / 0.9557 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.151e-05/0.6092, allocations: 6.734 kB / 0.9557 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.6092, allocations: 10.34 kB / 0.9557 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6092, allocations: 4 kB / 0.9557 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01005/0.6193, allocations: 1.77 MB / 0.9574 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001219/0.6194, allocations: 221.4 kB / 0.9577 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.34, allocations: 5.688 kB / 0.9577 GB, free: 1.875 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