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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001671/0.001671, allocations: 196 kB / 16.14 MB, free: 6.727 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.595/2.595, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 0.8118 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8234, allocations: 140.4 MB / 0.9489 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002412/0.8259, allocations: 1.333 MB / 0.9502 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.8272, allocations: 0.8431 MB / 0.951 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.8273, allocations: 5.688 kB / 0.951 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.8273, allocations: 0 / 0.951 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.8274, allocations: 3.938 kB / 0.9511 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.8278, allocations: 111.2 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.8279, allocations: 27.83 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.828, allocations: 2.688 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.828, allocations: 14.08 kB / 0.9512 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.8281, allocations: 11.48 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.8281, allocations: 13.44 kB / 0.9512 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.8285, allocations: 171.8 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.8285, allocations: 1.406 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.8285, allocations: 17.52 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.8288, allocations: 112.9 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.8288, allocations: 0 / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8288, allocations: 1.5 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8288, allocations: 3.938 kB / 0.9515 GB, free: 7.117 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.0005245/0.8294, allocations: 366.6 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.8294, allocations: 8.906 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.8295, allocations: 3.531 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.8296, allocations: 165.5 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/0.8297, allocations: 28.86 kB / 0.9521 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.8297, allocations: 1.812 kB / 0.9521 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.8299, allocations: 43.62 kB / 0.9521 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8299, allocations: 3.938 kB / 0.9521 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.8299, allocations: 0 / 0.9521 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.8299, allocations: 5.375 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.973e-05/0.83, allocations: 18.05 kB / 0.9521 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.8302, allocations: 166 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.8304, allocations: 46.48 kB / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.8305, allocations: 19.31 kB / 0.9524 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.8307, allocations: 182.2 kB / 0.9525 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.8308, allocations: 31.69 kB / 0.9526 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.8308, allocations: 0 / 0.9526 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002397/0.831, allocations: 73.02 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.831, allocations: 52.47 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.901e-05/0.8311, allocations: 105 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.8311, allocations: 29.7 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.356e-05/0.8311, allocations: 81.33 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.8312, allocations: 12.91 kB / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.8312, allocations: 14.03 kB / 0.9529 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.363e-05/0.8312, allocations: 312 kB / 0.9532 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.8313, allocations: 13.23 kB / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/0.8313, allocations: 9.641 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.681e-05/0.8314, allocations: 30.36 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8314, allocations: 3.938 kB / 0.9533 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001144/0.8316, allocations: 59.36 kB / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.8316, allocations: 10.88 kB / 0.9533 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.8316, allocations: 0 / 0.9533 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.8316, allocations: 1.062 kB / 0.9533 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/0.8317, allocations: 6.812 kB / 0.9533 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8317, allocations: 3.938 kB / 0.9533 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.8317, allocations: 9.484 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.8317, allocations: 5.344 kB / 0.9534 GB, free: 5.16 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.459e-05/0.8318, allocations: 107.4 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.8318, allocations: 6.344 kB / 0.9535 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.8319, allocations: 71.53 kB / 0.9535 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.832, allocations: 0 / 0.9535 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.832, allocations: 5.438 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.832, allocations: 0 / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.756e-05/0.832, allocations: 162.8 kB / 0.9537 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8321, allocations: 0 / 0.9537 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.8321, allocations: 15.11 kB / 0.9537 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8321, allocations: 3.938 kB / 0.9537 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.8321, allocations: 0.8125 kB / 0.9537 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8321, allocations: 1.062 kB / 0.9537 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8321, allocations: 0 / 0.9537 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.8323, allocations: 81.11 kB / 0.9538 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.8323, allocations: 82.17 kB / 0.9539 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.8323, allocations: 12.97 kB / 0.9539 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.8324, allocations: 6.297 kB / 0.9539 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.8324, allocations: 1.094 kB / 0.9539 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.8324, allocations: 5.531 kB / 0.9539 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.743e-05/0.8325, allocations: 78.36 kB / 0.954 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8325, allocations: 0 / 0.954 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002254/0.8327, allocations: 35.92 kB / 0.954 GB, free: 4.48 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.0001977/0.8329, allocations: 148.8 kB / 0.9541 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.8331, allocations: 29.39 kB / 0.9542 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8331, allocations: 0 / 0.9542 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.8331, allocations: 13.38 kB / 0.9542 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.8334, allocations: 11.83 kB / 0.9542 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.8337, allocations: 123.6 kB / 0.9543 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.8339, allocations: 0.6772 MB / 0.955 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.87e-05/0.8339, allocations: 3.656 kB / 0.955 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.8339, allocations: 10.09 kB / 0.955 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8339, allocations: 0 / 0.955 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of Templates: time 0.003386/0.8373, allocations: 1.023 MB / 0.956 GB, free: 2.98 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (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 & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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