Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_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.007192/0.007192, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001658/0.001658, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.135/2.135, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7001/0.7015, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002314/0.7038, allocations: 1.492 MB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.7049, allocations: 0.8004 MB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.705, allocations: 4.938 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.705, allocations: 5.016 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.7051, allocations: 15.53 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.7055, allocations: 129.9 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.7056, allocations: 54.81 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.7057, allocations: 17.14 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.7057, allocations: 18.56 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.7058, allocations: 25.27 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.7058, allocations: 4.812 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.7061, allocations: 172.5 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.7062, allocations: 11.2 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.7062, allocations: 21.06 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.7065, allocations: 151.3 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7065, allocations: 0 / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7065, allocations: 0 / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7065, allocations: 4 kB / 1.09 GB, free: 3.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004535/0.7069, allocations: 394.1 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.707, allocations: 9.734 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.249e-05/0.707, allocations: 32.94 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.707, allocations: 7.562 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.254e-05/0.7071, allocations: 176.4 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.7071, allocations: 5.688 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.7072, allocations: 6.469 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.7074, allocations: 76.98 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.7074, allocations: 4.453 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.7074, allocations: 0 / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.7074, allocations: 1.312 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.7078, allocations: 69.77 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.7081, allocations: 290.7 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.7083, allocations: 54.86 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.7084, allocations: 38.05 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.7086, allocations: 92.94 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.7086, allocations: 32.89 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7086, allocations: 0 / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005644/0.7092, allocations: 129.8 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.7092, allocations: 55.41 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.7093, allocations: 117.3 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.7093, allocations: 26.45 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.7093, allocations: 87.14 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.7094, allocations: 18.59 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.7094, allocations: 17.39 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.7094, allocations: 322.8 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.7096, allocations: 34.25 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.7098, allocations: 35.89 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.7101, allocations: 71.31 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7101, allocations: 0 / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003366/0.7104, allocations: 102.8 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7104, allocations: 6.297 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7105, allocations: 0 / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.7105, allocations: 1.344 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.7106, allocations: 15.45 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.7106, allocations: 0.5625 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.7107, allocations: 16.16 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.7107, allocations: 1.156 kB / 1.093 GB, free: 1.477 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 (3): * Single equations (assignments): 3 * 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 5.134e-05/0.7108, allocations: 117.2 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.7108, allocations: 10.03 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.7112, allocations: 109.8 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7112, allocations: 4.75 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7112, allocations: 0.9688 kB / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7112, allocations: 0 / 1.093 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.7114, allocations: 173.6 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7114, allocations: 0 / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.7115, allocations: 16.55 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7115, allocations: 1.125 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.7115, allocations: 0 / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7115, allocations: 1.344 kB / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7115, allocations: 0 / 1.093 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.7119, allocations: 207.7 kB / 1.093 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.7119, allocations: 79.59 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.7119, allocations: 0.9688 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.712, allocations: 11.75 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.7121, allocations: 7.594 kB / 1.093 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.7121, allocations: 1.672 kB / 1.093 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.7121, allocations: 99.59 kB / 1.093 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7121, allocations: 0 / 1.093 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000282/0.7124, allocations: 31.8 kB / 1.093 GB, free: 0.7383 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 (3): * Single equations (assignments): 3 * 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.0006617/0.7131, allocations: 0.7661 MB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.7135, allocations: 71 kB / 1.094 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7135, allocations: 4 kB / 1.094 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.7137, allocations: 35.33 kB / 1.094 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.714, allocations: 18.3 kB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.7159, allocations: 1.426 MB / 1.096 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.7162, allocations: 0.6901 MB / 1.096 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.7162, allocations: 7.609 kB / 1.096 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.7163, allocations: 18.42 kB / 1.096 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/0.7163, allocations: 5.094 kB / 1.096 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.7403, allocations: 2.428 MB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/9.034, allocations: 11.8 kB / 1.099 GB, free: 13.61 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches