Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_latest_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.007367/0.007367, allocations: 104.7 kB / 15.74 MB, free: 5.988 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.001663/0.001663, allocations: 196.2 kB / 16.67 MB, free: 5.914 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: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 63.91 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9317/0.9333, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002533/0.9359, allocations: 1.271 MB / 1.209 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.9373, allocations: 0.8372 MB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.9374, allocations: 0 / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.9374, allocations: 0 / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.9375, allocations: 3.938 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.9381, allocations: 139.4 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.55e-05/0.9382, allocations: 19.94 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.9383, allocations: 7.984 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.9383, allocations: 11.94 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.9384, allocations: 7.984 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.9384, allocations: 4 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.9389, allocations: 163.7 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.9389, allocations: 11.94 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.9389, allocations: 15.94 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.9392, allocations: 118 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9392, allocations: 4 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9392, allocations: 0 / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.9392, allocations: 0 / 1.21 GB, free: 10.96 MB / 0.9356 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.000455/0.9397, allocations: 367.3 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9397, allocations: 8.031 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.9398, allocations: 34.75 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.9398, allocations: 4.938 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.9399, allocations: 168.4 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.94, allocations: 30.27 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.94, allocations: 4.312 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.9402, allocations: 46 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.9402, allocations: 0 / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.9402, allocations: 0 / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9402, allocations: 4 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.9403, allocations: 15.98 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.9405, allocations: 165.6 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.9407, allocations: 42.61 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.9408, allocations: 24.88 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.9411, allocations: 178.2 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.9411, allocations: 38.5 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.9411, allocations: 0 / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002646/0.9414, allocations: 65.67 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.9414, allocations: 51.41 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.9415, allocations: 101.8 kB / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.9415, allocations: 25.7 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.9416, allocations: 80.14 kB / 1.211 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.9416, allocations: 15.8 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.9417, allocations: 21.72 kB / 1.211 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9418, allocations: 310.8 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.9418, allocations: 15.92 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.423e-05/0.9419, allocations: 8 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.942, allocations: 29.31 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.942, allocations: 0 / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001552/0.9422, allocations: 69.56 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.9422, allocations: 7.938 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9422, allocations: 0 / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.9422, allocations: 0 / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.9423, allocations: 8 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.9423, allocations: 3.938 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.9423, allocations: 11.92 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.9423, allocations: 7.938 kB / 1.212 GB, free: 8.758 MB / 0.9356 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 7.535e-05/0.9424, allocations: 105.8 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.9424, allocations: 11.94 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.9426, allocations: 65.16 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.9427, allocations: 0 / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9427, allocations: 0 / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9427, allocations: 4 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.9428, allocations: 157.7 kB / 1.212 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9428, allocations: 0 / 1.212 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.9429, allocations: 15.98 kB / 1.212 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.9429, allocations: 7.875 kB / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.9429, allocations: 0 / 1.212 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.9429, allocations: 4 kB / 1.212 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9429, allocations: 0 / 1.212 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.9431, allocations: 81.11 kB / 1.212 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.9431, allocations: 92.89 kB / 1.212 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9432, allocations: 0 / 1.212 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.76e-05/0.9432, allocations: 0 / 1.212 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.9433, allocations: 7.984 kB / 1.212 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.9433, allocations: 8 kB / 1.212 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.9433, allocations: 79.28 kB / 1.212 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9433, allocations: 0 / 1.212 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002433/0.9436, allocations: 35.98 kB / 1.212 GB, free: 7.988 MB / 0.9356 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.0005294/0.9441, allocations: 0.6553 MB / 1.213 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.9443, allocations: 27.97 kB / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.9443, allocations: 0 / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.737e-05/0.9444, allocations: 20.36 kB / 1.213 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.9446, allocations: 7.984 kB / 1.213 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.945, allocations: 172.7 kB / 1.213 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.9453, allocations: 0.6807 MB / 1.214 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.369e-05/0.9453, allocations: 4.078 kB / 1.214 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.9454, allocations: 11.44 kB / 1.214 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9454, allocations: 0 / 1.214 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.9652, allocations: 1.96 MB / 1.216 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/8.438, allocations: 4 kB / 1.216 GB, free: 4.473 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,X_w,phi Variables in the result:T,X_inv,X_w,p,phi,time