Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Phi_pTX,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_10_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.005169/0.005173, allocations: 98.69 kB / 15.73 MB, free: 6.07 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.001365/0.001365, allocations: 192.2 kB / 16.67 MB, free: 5.977 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.462/2.462, allocations: 437.1 MB / 0.7106 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.84 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8495/0.8514, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002411/0.8539, allocations: 1.498 MB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.8551, allocations: 0.8108 MB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.8552, allocations: 0 / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.8552, allocations: 3.938 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.8553, allocations: 15.86 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.8557, allocations: 135.4 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.8558, allocations: 47.84 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.8559, allocations: 12 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.8559, allocations: 19.92 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.856, allocations: 31.89 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.856, allocations: 4 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.8563, allocations: 167.8 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.8564, allocations: 7.938 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.8564, allocations: 35.78 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.8567, allocations: 139.2 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8567, allocations: 4 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8567, allocations: 0 / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8567, allocations: 0 / 1.169 GB, free: 0.8164 MB / 0.8887 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.0005454/0.8572, allocations: 395 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.8573, allocations: 8.922 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.8573, allocations: 38.75 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.8574, allocations: 8.891 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.8575, allocations: 180.2 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.8575, allocations: 4.375 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.8575, allocations: 384 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.8578, allocations: 70.22 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.8578, allocations: 3.938 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.8578, allocations: 7.984 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.8578, allocations: 4 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.8581, allocations: 67.97 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.8585, allocations: 292.7 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.8587, allocations: 50.53 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.8589, allocations: 40.92 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.8591, allocations: 89.09 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.8591, allocations: 42.55 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.8591, allocations: 3.938 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005326/0.8597, allocations: 133.5 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.8597, allocations: 51.41 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.8598, allocations: 117.8 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.8598, allocations: 29.64 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.8599, allocations: 92.09 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.8599, allocations: 3.953 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.8599, allocations: 21.72 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8601, allocations: 318.8 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.8602, allocations: 31.97 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.8604, allocations: 31.95 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.8606, allocations: 68.8 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.8607, allocations: 0 / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003179/0.861, allocations: 105.5 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.861, allocations: 8 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.861, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.861, allocations: 4 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.8611, allocations: 15.98 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8612, allocations: 4 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.8612, allocations: 11.92 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.8612, allocations: 4 kB / 1.171 GB, free: 14.25 MB / 0.9044 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 7.676e-05/0.8613, allocations: 113.8 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.8614, allocations: 7.953 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.8617, allocations: 113.5 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8617, allocations: 0 / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.8617, allocations: 0 / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8617, allocations: 0 / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.8619, allocations: 177.6 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8619, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.995e-05/0.862, allocations: 15.98 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.862, allocations: 8.031 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.862, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.862, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8621, allocations: 4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.8624, allocations: 195.4 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.8625, allocations: 85.06 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.8625, allocations: 4 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.8626, allocations: 15.92 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.8626, allocations: 7.984 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.8627, allocations: 0 / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.304e-05/0.8627, allocations: 95.2 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8627, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002498/0.863, allocations: 35.81 kB / 1.172 GB, free: 13.28 MB / 0.9044 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.0007448/0.8637, allocations: 0.763 MB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.8641, allocations: 75.86 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8641, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.8642, allocations: 35.95 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.8645, allocations: 10.23 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.8663, allocations: 1.43 MB / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.8666, allocations: 0.6807 MB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.8666, allocations: 8 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.8667, allocations: 19.38 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8667, allocations: 0 / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6717/1.538, allocations: 2.456 MB / 1.177 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.549/11.09, allocations: 13.55 kB / 1.177 GB, free: 7.766 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches