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.001172/0.001172, allocations: 108 kB / 15.6 MB, free: 132 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.001193/0.001193, allocations: 194 kB / 16.53 MB, free: 6.391 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.18/2.18, allocations: 390.2 MB / 0.6647 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5732/0.5746, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002462/0.5771, allocations: 1.48 MB / 0.9512 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.5781, allocations: 0.8092 MB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.5781, allocations: 1.188 kB / 0.952 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.5782, allocations: 7.922 kB / 0.952 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.457e-05/0.5783, allocations: 9.938 kB / 0.952 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.5787, allocations: 130.9 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.5788, allocations: 57.7 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.337e-05/0.5789, allocations: 17.67 kB / 0.9522 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.512e-05/0.579, allocations: 19.2 kB / 0.9522 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.217e-05/0.579, allocations: 23.36 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.5791, allocations: 4.844 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.5794, allocations: 169.5 kB / 0.9524 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.5794, allocations: 11.92 kB / 0.9524 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.5794, allocations: 18.72 kB / 0.9524 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.5797, allocations: 158.2 kB / 0.9526 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5797, allocations: 0 / 0.9526 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5797, allocations: 0 / 0.9526 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5797, allocations: 0 / 0.9526 GB, free: 7.027 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004488/0.5802, allocations: 401.3 kB / 0.9529 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.5802, allocations: 8.969 kB / 0.9529 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.593e-05/0.5803, allocations: 32.25 kB / 0.953 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.5803, allocations: 7.469 kB / 0.953 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.785e-05/0.5804, allocations: 166.9 kB / 0.9531 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.5804, allocations: 5.781 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.5804, allocations: 6.906 kB / 0.9532 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.5806, allocations: 77.86 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5807, allocations: 3.938 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5807, allocations: 1.438 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.5807, allocations: 0 / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.581, allocations: 74.42 kB / 0.9533 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.5813, allocations: 286.8 kB / 0.9536 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.5814, allocations: 56.84 kB / 0.9536 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.5816, allocations: 40.14 kB / 0.9537 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.5817, allocations: 93.22 kB / 0.9538 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.5818, allocations: 35.84 kB / 0.9538 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.5818, allocations: 0 / 0.9538 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000499/0.5823, allocations: 135.5 kB / 0.9539 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.5823, allocations: 51.41 kB / 0.954 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.5824, allocations: 120.5 kB / 0.9541 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.5824, allocations: 29.64 kB / 0.9541 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.5824, allocations: 86.92 kB / 0.9542 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.5824, allocations: 16.77 kB / 0.9542 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.5825, allocations: 17.53 kB / 0.9542 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.5825, allocations: 319.8 kB / 0.9545 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.5827, allocations: 32.48 kB / 0.9546 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.5828, allocations: 34.22 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.583, allocations: 72.31 kB / 0.9547 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5831, allocations: 0 / 0.9547 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000292/0.5833, allocations: 97.66 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5834, allocations: 5.312 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5834, allocations: 0 / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5834, allocations: 1.312 kB / 0.9548 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.5835, allocations: 23.27 kB / 0.9548 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5835, allocations: 0 / 0.9548 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.5836, allocations: 10.48 kB / 0.9548 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5836, allocations: 1.25 kB / 0.9548 GB, free: 4.863 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 (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.756e-05/0.5837, allocations: 120.6 kB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.5837, allocations: 6.625 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.584, allocations: 116.8 kB / 0.955 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.584, allocations: 0 / 0.955 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5841, allocations: 5.422 kB / 0.955 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5841, allocations: 0 / 0.955 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.5842, allocations: 170.2 kB / 0.9552 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5842, allocations: 0 / 0.9552 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.5843, allocations: 19.5 kB / 0.9552 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.5843, allocations: 4 kB / 0.9552 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.5843, allocations: 0 / 0.9552 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5843, allocations: 1.406 kB / 0.9552 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5843, allocations: 0 / 0.9552 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.5846, allocations: 198.3 kB / 0.9554 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.5847, allocations: 89 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.5847, allocations: 2.656 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.5848, allocations: 11.36 kB / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.5848, allocations: 0 / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.5848, allocations: 3.312 kB / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.5849, allocations: 96.61 kB / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5849, allocations: 0 / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002635/0.5852, allocations: 32.17 kB / 0.9556 GB, free: 4.047 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 (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.0005635/0.5857, allocations: 0.7632 MB / 0.9564 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.5861, allocations: 79.23 kB / 0.9565 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5861, allocations: 0 / 0.9565 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.5862, allocations: 33.28 kB / 0.9565 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.5865, allocations: 16.52 kB / 0.9565 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.5879, allocations: 1.426 MB / 0.9579 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.041e-05/0.588, allocations: 0.6852 MB / 0.9586 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.5881, allocations: 1.281 kB / 0.9586 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.5881, allocations: 18.2 kB / 0.9586 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.5881, allocations: 1.406 kB / 0.9586 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.25/2.838, allocations: 2.42 MB / 0.9609 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/14.43, allocations: 6.188 kB / 0.961 GB, free: 15.93 MB / 0.7325 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