Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_latest_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.007154/0.007154, allocations: 103.6 kB / 15.73 MB, free: 6.043 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.002046/0.002046, allocations: 190.1 kB / 16.67 MB, free: 5.961 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.363/1.363, 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 11.0.1-master/package.mo): time 2.569/2.569, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 68.12 kB / 1.054 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8103/0.8117, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002577/0.8143, allocations: 1.5 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.8156, allocations: 0.8099 MB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.8156, allocations: 0 / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.8157, allocations: 3.938 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.8158, allocations: 15.86 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.8163, allocations: 123.5 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.8164, allocations: 59.72 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.8165, allocations: 15.98 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.101e-05/0.8165, allocations: 23.92 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.8166, allocations: 23.91 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.8166, allocations: 4 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.817, allocations: 167.8 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.817, allocations: 15.92 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.817, allocations: 23.86 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.8173, allocations: 141.9 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8173, allocations: 0 / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8173, allocations: 4 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.8173, allocations: 0 / 1.21 GB, free: 10.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005605/0.8179, allocations: 403.2 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.8179, allocations: 12.02 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.818, allocations: 38.75 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.818, allocations: 0.9375 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.8181, allocations: 176.2 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.8182, allocations: 4.375 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.8182, allocations: 4.375 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.8184, allocations: 78.14 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.8185, allocations: 3.938 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.8185, allocations: 4 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.8185, allocations: 0 / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.8188, allocations: 71.92 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.8192, allocations: 276.7 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.8194, allocations: 58.48 kB / 1.211 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.8195, allocations: 44.91 kB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.8197, allocations: 89.09 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.8198, allocations: 34.56 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/0.8198, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005737/0.8204, allocations: 133.7 kB / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.8204, allocations: 59.34 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.8205, allocations: 117.8 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.8205, allocations: 25.7 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.8206, allocations: 92.05 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.8206, allocations: 11.83 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.8206, allocations: 17.72 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.8208, allocations: 318.8 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.8209, allocations: 35.95 kB / 1.212 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.8211, allocations: 31.91 kB / 1.212 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.8214, allocations: 72.78 kB / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8214, allocations: 0 / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003418/0.8217, allocations: 93.62 kB / 1.212 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8218, allocations: 4 kB / 1.212 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.8218, allocations: 3.938 kB / 1.212 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.8218, allocations: 4 kB / 1.212 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.8219, allocations: 15.97 kB / 1.212 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.8219, allocations: 4 kB / 1.212 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.822, allocations: 19.89 kB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.822, allocations: 0 / 1.212 GB, free: 8.121 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 (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.325e-05/0.8221, allocations: 114.4 kB / 1.212 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.8221, allocations: 4 kB / 1.212 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.8225, allocations: 113.5 kB / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.8225, allocations: 0 / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.8226, allocations: 0 / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8226, allocations: 0 / 1.213 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.8227, allocations: 177.6 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.8227, allocations: 0 / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.704e-05/0.8228, allocations: 19.92 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8229, allocations: 3.984 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.8229, allocations: 0 / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8229, allocations: 4 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8229, allocations: 0 / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.8233, allocations: 199.3 kB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.8233, allocations: 81.02 kB / 1.213 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.8233, allocations: 0 / 1.213 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.8234, allocations: 19.97 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.8235, allocations: 8 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.8235, allocations: 0 / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.8236, allocations: 95.64 kB / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8236, allocations: 0 / 1.213 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002751/0.8238, allocations: 31.94 kB / 1.213 GB, free: 7.156 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 (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.0007361/0.8246, allocations: 0.7671 MB / 1.214 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.8249, allocations: 79.95 kB / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.825, allocations: 0 / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.8251, allocations: 35.91 kB / 1.214 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.8254, allocations: 7.984 kB / 1.214 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.8274, allocations: 1.418 MB / 1.215 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.8276, allocations: 0.6846 MB / 1.216 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.8276, allocations: 11.97 kB / 1.216 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.8277, allocations: 19.44 kB / 1.216 GB, free: 4 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.8277, allocations: 0 / 1.216 GB, free: 4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.8483, allocations: 2.477 MB / 1.219 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.51, allocations: 17.88 kB / 1.219 GB, free: 1.609 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches