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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 196.8 kB / 16.79 MB, free: 6.828 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.59/2.59, allocations: 437 MB / 0.7106 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.89 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7791, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002884/0.782, allocations: 1.341 MB / 1.019 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.7835, allocations: 0.846 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.7835, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.7836, allocations: 7.922 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.7837, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.7842, allocations: 107.5 kB / 1.02 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.171e-05/0.7843, allocations: 23.92 kB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.7843, allocations: 4 kB / 1.02 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.7844, allocations: 15.92 kB / 1.02 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.7845, allocations: 7.984 kB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.7845, allocations: 4 kB / 1.02 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.7849, allocations: 175.7 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.7849, allocations: 7.922 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.7849, allocations: 11.94 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.7852, allocations: 85.81 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.7852, allocations: 4 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7852, allocations: 0 / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.7852, allocations: 0 / 1.02 GB, free: 160 kB / 0.7637 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.0005293/0.7857, allocations: 355.5 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7858, allocations: 8.031 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.7858, allocations: 4.875 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.786, allocations: 172.3 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/0.786, allocations: 34.27 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.7861, allocations: 4.375 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.7862, allocations: 42.25 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7862, allocations: 3.938 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.7863, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.7863, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.7864, allocations: 15.98 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.7866, allocations: 161.6 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.7868, allocations: 50.55 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.7869, allocations: 20.94 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.7872, allocations: 178.2 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.7872, allocations: 38.5 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.7872, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002652/0.7875, allocations: 77.62 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.7876, allocations: 51.41 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.7877, allocations: 101.9 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.7877, allocations: 25.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.7877, allocations: 88.12 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.7878, allocations: 15.81 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.7878, allocations: 17.72 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.7879, allocations: 314.8 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.788, allocations: 11.98 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.614e-05/0.788, allocations: 15.98 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.685e-05/0.7881, allocations: 20.86 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7881, allocations: 0 / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.7883, allocations: 61.61 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.7883, allocations: 11.94 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7883, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.7883, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.7884, allocations: 8 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7884, allocations: 0 / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.7885, allocations: 3.984 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.7885, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 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.86e-05/0.7885, allocations: 113.8 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.7886, allocations: 7.844 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.7888, allocations: 73.11 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7888, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7888, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.7888, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.7889, allocations: 157.7 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7889, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.789, allocations: 7.984 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.789, allocations: 3.938 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.789, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.789, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.789, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.7892, allocations: 81.11 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.7893, allocations: 84.98 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.7893, allocations: 7.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.7893, allocations: 7.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.7894, allocations: 3.938 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.7894, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.7894, allocations: 79.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7895, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002525/0.7897, allocations: 39.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 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.0002442/0.79, allocations: 147.1 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.7901, allocations: 28.11 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7901, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.323e-05/0.7902, allocations: 23.94 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.7905, allocations: 6.328 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.7908, allocations: 154.6 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.791, allocations: 0.6809 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.7911, allocations: 11.44 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.7911, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.0027/0.7938, allocations: 0.9836 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (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 & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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