Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008374/0.0008374, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9371/0.9371, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.76/1.76, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.973e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001904/0.001924, allocations: 1.51 MB / 0.9519 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.002799, allocations: 0.7444 MB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.002834, allocations: 0 / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.002869, allocations: 3.938 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.002918, allocations: 19.8 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.003304, allocations: 135.3 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.003381, allocations: 55.78 kB / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.003479, allocations: 23.89 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.003536, allocations: 23.98 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.003576, allocations: 19.97 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.003591, allocations: 4 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.003829, allocations: 163.6 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.003846, allocations: 11.94 kB / 0.9531 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.003869, allocations: 11.98 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.004088, allocations: 171.5 kB / 0.9533 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004089, allocations: 4 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.00409, allocations: 0 / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004094, allocations: 0 / 0.9533 GB, free: 0.6055 MB / 0.9011 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.0004049/0.004499, allocations: 321.8 kB / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.004541, allocations: 19.91 kB / 0.9536 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.00457, allocations: 30.75 kB / 0.9536 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.004593, allocations: 8.938 kB / 0.9537 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.004673, allocations: 121.7 kB / 0.9538 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.004683, allocations: 384 / 0.9538 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.004692, allocations: 8.375 kB / 0.9538 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.004874, allocations: 70.27 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.004881, allocations: 192 / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.00489, allocations: 384 / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.004896, allocations: 4.125 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.005051, allocations: 71.88 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.00536, allocations: 247.8 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.005493, allocations: 58.47 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.005571, allocations: 36.91 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.005682, allocations: 19.98 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.0057, allocations: 30.56 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005702, allocations: 4 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0003119/0.006013, allocations: 129.5 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.006043, allocations: 55.41 kB / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.006115, allocations: 121.8 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.006124, allocations: 25.7 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.00616, allocations: 88.14 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.006174, allocations: 7.953 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.006203, allocations: 17.72 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.00628, allocations: 314.8 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.006361, allocations: 31.97 kB / 0.9551 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.006432, allocations: 31.95 kB / 0.9551 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.006574, allocations: 72.78 kB / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.006577, allocations: 0 / 0.9552 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000176/0.006753, allocations: 109.5 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.006768, allocations: 8 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006773, allocations: 0 / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.006785, allocations: 0 / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.006855, allocations: 19.92 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.00686, allocations: 4 kB / 0.9553 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/0.006899, allocations: 11.97 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.006906, allocations: 4 kB / 0.9553 GB, free: 14.34 MB / 0.9167 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 5.537e-05/0.006961, allocations: 105.8 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.006978, allocations: 19.83 kB / 0.9554 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.007188, allocations: 113.9 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.007191, allocations: 0 / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.007197, allocations: 4 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.0072, allocations: 0 / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.007321, allocations: 148.6 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007322, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.007365, allocations: 11.98 kB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007367, allocations: 0 / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.007373, allocations: 4 kB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.007374, allocations: 4 kB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.007375, allocations: 0 / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.007571, allocations: 199.4 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.00758, allocations: 3.953 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.00759, allocations: 0 / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.313e-05/0.007643, allocations: 11.98 kB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.007681, allocations: 7.922 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.007686, allocations: 12 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.00772, allocations: 91.27 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007721, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001948/0.007915, allocations: 31.88 kB / 0.956 GB, free: 13.51 MB / 0.9167 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.0004692/0.008385, allocations: 0.763 MB / 0.9568 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.008576, allocations: 75.8 kB / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008577, allocations: 4 kB / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.008652, allocations: 35.95 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.008881, allocations: 15.22 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.01003, allocations: 1.421 MB / 0.9583 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.524e-05/0.01007, allocations: 71.25 kB / 0.9584 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.0101, allocations: 7.938 kB / 0.9584 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.01014, allocations: 20.48 kB / 0.9584 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.01014, allocations: 0 / 0.9584 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.02881, allocations: 3.247 MB / 0.9616 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.001, allocations: 5.281 kB / 0.9616 GB, free: 7.879 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.256377916783094]