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.007772/0.007772, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001927/0.001927, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.171/2.171, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7676/0.7689, 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.002412/0.7714, allocations: 1.5 MB / 1.089 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.7726, allocations: 0.7988 MB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.7726, allocations: 0.9688 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.7727, allocations: 5.203 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.7727, allocations: 10.28 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.7732, allocations: 130.5 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.495e-05/0.7733, allocations: 54.86 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.7734, allocations: 17.38 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.7734, allocations: 23.66 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.7735, allocations: 24.06 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.7735, allocations: 5.344 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.7739, allocations: 168.7 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.7739, allocations: 11 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.7739, allocations: 24.75 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.7742, allocations: 150.4 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7742, allocations: 1.062 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7742, allocations: 4 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.7742, allocations: 0 / 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.0004941/0.7747, allocations: 393.2 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.7748, allocations: 10.62 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.7748, allocations: 32.47 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.7748, allocations: 7.828 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.436e-05/0.7749, allocations: 176.8 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.7749, allocations: 9.531 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.775, allocations: 6.562 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.7752, allocations: 72.52 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7752, allocations: 5.188 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.7752, allocations: 0 / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.7752, allocations: 1.156 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.7756, allocations: 69.2 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.7759, allocations: 291.4 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.7761, allocations: 54.52 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.7762, allocations: 37.91 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.7764, allocations: 92.41 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.7764, allocations: 32.33 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.7764, allocations: 0.7812 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005543/0.777, allocations: 136.8 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.777, allocations: 52.19 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.7771, allocations: 121.8 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.7771, allocations: 25.7 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.7771, allocations: 89.02 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.7771, allocations: 21.67 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.7772, allocations: 13.31 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.7772, allocations: 322.8 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.7774, allocations: 35.14 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.7775, allocations: 30.98 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.7778, allocations: 66.62 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7778, allocations: 7.938 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003356/0.7782, allocations: 95.94 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.7782, allocations: 4.938 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7782, allocations: 0.8125 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.7782, allocations: 0.7031 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.7784, allocations: 15.2 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7784, allocations: 9.578 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.7785, allocations: 10.97 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.7785, allocations: 1.938 kB / 1.093 GB, free: 1.473 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 4.771e-05/0.7785, allocations: 122.7 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.7785, allocations: 7.594 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.7789, allocations: 113.2 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.7789, allocations: 0.8438 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7789, allocations: 0 / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7789, allocations: 1.656 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.7791, allocations: 177.1 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7791, allocations: 0 / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.7792, allocations: 15.72 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7792, allocations: 1 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.7792, allocations: 1.188 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7792, allocations: 0.6562 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7792, allocations: 4 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.7795, allocations: 202.7 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.7796, allocations: 80.42 kB / 1.093 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.7796, allocations: 0.9688 kB / 1.093 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.7797, allocations: 19.19 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.7797, allocations: 3.344 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.7798, allocations: 1.797 kB / 1.093 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.4e-05/0.7798, allocations: 95.41 kB / 1.093 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7798, allocations: 0 / 1.093 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003049/0.7801, allocations: 32.27 kB / 1.093 GB, free: 0.7305 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.0007987/0.7809, allocations: 0.7606 MB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.7813, allocations: 79.31 kB / 1.094 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7814, allocations: 1.156 kB / 1.094 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.7815, allocations: 33.33 kB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.7818, allocations: 11.81 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.001754/0.7836, allocations: 1.431 MB / 1.096 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.7838, allocations: 0.6821 MB / 1.096 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.7839, allocations: 7.5 kB / 1.096 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.7839, allocations: 20.31 kB / 1.096 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/0.7839, allocations: 0 / 1.096 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.8037, allocations: 2.458 MB / 1.099 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/8.3, allocations: 7.469 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