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: "" <> 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.004591/0.004591, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001182/0.001182, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.168/2.168, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8334, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002012/0.8354, allocations: 1.284 MB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.8366, allocations: 0.8243 MB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.8366, allocations: 0 / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.8366, allocations: 0.75 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.8367, allocations: 9.594 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.8372, allocations: 138.8 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.8373, allocations: 26.67 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.8373, allocations: 2.922 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.8374, allocations: 7.75 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.8374, allocations: 16 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.8375, allocations: 5.062 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.8378, allocations: 165.2 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.8378, allocations: 3.078 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.8379, allocations: 13.64 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.8381, allocations: 118.3 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8381, allocations: 4 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8381, allocations: 0 / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8382, allocations: 1.25 kB / 1.09 GB, free: 3.617 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003421/0.8385, allocations: 369.1 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.8385, allocations: 9.625 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.438e-05/0.8386, allocations: 32.34 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.8386, allocations: 6.688 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.632e-05/0.8387, allocations: 162.7 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.8387, allocations: 35.33 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.8388, allocations: 5.438 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.8389, allocations: 48.33 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.8389, allocations: 0 / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.8389, allocations: 0 / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8389, allocations: 0.875 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.393e-05/0.839, allocations: 14.67 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.8391, allocations: 158.8 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.8393, allocations: 53.97 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.8394, allocations: 17.7 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.8396, allocations: 182.4 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.8397, allocations: 40.28 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8397, allocations: 4 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002381/0.8399, allocations: 72.34 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.8399, allocations: 53.05 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/0.84, allocations: 94.88 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.84, allocations: 26.42 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.083e-05/0.84, allocations: 80.14 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.84, allocations: 15.75 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.8401, allocations: 14.33 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.8401, allocations: 320.3 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.8402, allocations: 7.359 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.8402, allocations: 12.55 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.935e-05/0.8403, allocations: 29.52 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8403, allocations: 0 / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001245/0.8405, allocations: 65.2 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8405, allocations: 10.12 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8405, allocations: 4.562 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.8405, allocations: 0 / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.204e-05/0.8406, allocations: 8.812 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.8406, allocations: 0 / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.8406, allocations: 6.672 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.8406, allocations: 1.906 kB / 1.092 GB, free: 1.68 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 (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.516e-05/0.8407, allocations: 108.5 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.8407, allocations: 5 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.8409, allocations: 76.42 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8409, allocations: 1.125 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8409, allocations: 0 / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8409, allocations: 1.469 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.599e-05/0.841, allocations: 158.7 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.841, allocations: 0.7031 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.841, allocations: 7.906 kB / 1.092 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.841, allocations: 5.062 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.841, allocations: 0 / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.841, allocations: 5.438 kB / 1.092 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.8411, allocations: 4 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.8412, allocations: 80.22 kB / 1.092 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.8412, allocations: 85.22 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.8413, allocations: 1.156 kB / 1.092 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.8413, allocations: 7.188 kB / 1.092 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.8414, allocations: 11.77 kB / 1.092 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.8414, allocations: 1.766 kB / 1.092 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.909e-05/0.8414, allocations: 82.33 kB / 1.092 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8414, allocations: 0 / 1.092 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002373/0.8416, allocations: 36.22 kB / 1.093 GB, free: 1.027 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 (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.0004921/0.8421, allocations: 0.6641 MB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.8423, allocations: 29.88 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8423, allocations: 1.156 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-05/0.8424, allocations: 15.77 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.8426, allocations: 4.875 kB / 1.093 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.843, allocations: 161.9 kB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.8433, allocations: 0.6839 MB / 1.094 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.8433, allocations: 3.453 kB / 1.094 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.8434, allocations: 10.64 kB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of SimCode: time 8.62e-07/0.8434, allocations: 0 / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.8607, allocations: 1.955 MB / 1.096 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/8.175, allocations: 5.484 kB / 1.096 GB, free: 15.1 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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