Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_10_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.005076/0.005076, allocations: 95.86 kB / 15.73 MB, free: 6.484 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.001301/0.001301, allocations: 192.4 kB / 16.67 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.1 MB / 0.7105 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3342, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002645/0.3369, allocations: 1.258 MB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3384, allocations: 0.8423 MB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.3384, allocations: 0 / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.3385, allocations: 3.938 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.036e-05/0.3385, allocations: 7.938 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.3391, allocations: 127.4 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.842e-05/0.3392, allocations: 27.86 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3393, allocations: 4 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.3393, allocations: 7.984 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.3394, allocations: 15.94 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3394, allocations: 0 / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.3398, allocations: 167.8 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.3398, allocations: 7.984 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.3399, allocations: 11.94 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3401, allocations: 127.8 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3402, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3402, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3402, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 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.0004843/0.3407, allocations: 363.2 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3407, allocations: 8.031 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.3407, allocations: 34.75 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3408, allocations: 8.891 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3409, allocations: 160.4 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.341, allocations: 34.27 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.341, allocations: 384 / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3412, allocations: 49.98 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3412, allocations: 3.938 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3412, allocations: 7.938 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3412, allocations: 0 / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.931e-05/0.3413, allocations: 19.98 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.3415, allocations: 157.7 kB / 1.17 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.3417, allocations: 42.56 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.3418, allocations: 12.86 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.3421, allocations: 186.3 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3421, allocations: 38.48 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3421, allocations: 0 / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002512/0.3424, allocations: 65.62 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3424, allocations: 55.39 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.3425, allocations: 98.12 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.3425, allocations: 25.7 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.3426, allocations: 92.14 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.3426, allocations: 15.83 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3427, allocations: 21.7 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3428, allocations: 310.8 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.3429, allocations: 8 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.3429, allocations: 11.98 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.695e-05/0.343, allocations: 32.91 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.343, allocations: 4 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.3432, allocations: 57.69 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3432, allocations: 9.969 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3432, allocations: 0 / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3432, allocations: 0 / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/0.3433, allocations: 11.98 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3433, allocations: 0 / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.3433, allocations: 7.953 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3433, allocations: 0 / 1.171 GB, free: 2.539 MB / 0.92 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 8.122e-05/0.3434, allocations: 113.8 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.3434, allocations: 7.938 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.3436, allocations: 65.11 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3436, allocations: 3.984 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3436, allocations: 4 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3436, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.3438, allocations: 153.7 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3438, allocations: 7.938 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.3438, allocations: 8 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3439, allocations: 7.938 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.3439, allocations: 0 / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3439, allocations: 0 / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3439, allocations: 0 / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.344, allocations: 89 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.3441, allocations: 89.03 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3441, allocations: 4 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.3442, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3442, allocations: 4 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3442, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.3443, allocations: 83.27 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3443, allocations: 0 / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002335/0.3445, allocations: 39.81 kB / 1.171 GB, free: 1.762 MB / 0.92 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.0005757/0.3451, allocations: 0.6629 MB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.3453, allocations: 28.31 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.3453, allocations: 4 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.3454, allocations: 12.08 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3456, allocations: 8 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.346, allocations: 172.6 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.3463, allocations: 0.6768 MB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.3464, allocations: 3.984 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.3464, allocations: 15.38 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3464, allocations: 4 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.512/0.8584, allocations: 1.94 MB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.597/9.456, allocations: 7.891 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches