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.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: 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.00132/0.00132, allocations: 106.7 kB / 16.41 MB, free: 6.484 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.001352/0.001352, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.393/1.393, allocations: 222.9 MB / 241 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.55/2.55, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 63.89 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9841/0.9857, allocations: 151.6 MB / 1.167 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003681/0.9894, allocations: 1.276 MB / 1.169 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.9913, allocations: 0.8248 MB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.9914, allocations: 0 / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.9915, allocations: 3.938 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.9916, allocations: 7.922 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008952/0.9925, allocations: 127.5 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.9926, allocations: 27.86 kB / 1.17 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.244e-05/0.9927, allocations: 4 kB / 1.17 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.9928, allocations: 11.92 kB / 1.17 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.9929, allocations: 15.98 kB / 1.17 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.9929, allocations: 0 / 1.17 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.9934, allocations: 159.8 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.9934, allocations: 11.98 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.9935, allocations: 11.92 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.9939, allocations: 127.5 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9939, allocations: 0 / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9939, allocations: 4 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.9939, allocations: 0 / 1.17 GB, free: 1.418 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006466/0.9946, allocations: 357.5 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.9946, allocations: 8.625 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.9947, allocations: 8.844 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.9949, allocations: 168.3 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.995, allocations: 30.27 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.995, allocations: 4.375 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.9952, allocations: 46.25 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.9952, allocations: 3.938 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.9952, allocations: 3.984 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.9953, allocations: 4 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.9954, allocations: 15.92 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.9956, allocations: 161.6 kB / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.9959, allocations: 42.7 kB / 1.171 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.996, allocations: 24.84 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004042/0.9964, allocations: 178.2 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.9964, allocations: 34.56 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.9964, allocations: 0 / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0003077/0.9968, allocations: 77.55 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.9968, allocations: 51.41 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.9969, allocations: 97.95 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.997, allocations: 29.64 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.997, allocations: 80.14 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.9971, allocations: 15.81 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.9971, allocations: 13.72 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.9973, allocations: 318.8 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.9974, allocations: 8 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.369e-05/0.9974, allocations: 15.98 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.89e-05/0.9975, allocations: 24.8 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.9975, allocations: 0 / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001669/0.9977, allocations: 61.67 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.9978, allocations: 7.938 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9978, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.9978, allocations: 0 / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.9979, allocations: 12 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.9979, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.9979, allocations: 7.891 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.9979, allocations: 4 kB / 1.172 GB, free: 15.27 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 (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 0.0001077/0.9981, allocations: 105.8 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.9981, allocations: 3.938 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.9983, allocations: 81.55 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.9983, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9983, allocations: 4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.9983, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.9985, allocations: 157.7 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.9985, allocations: 4 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.9985, allocations: 8.031 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.9986, allocations: 11.92 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.9986, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9986, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9986, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.9987, allocations: 89.05 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.9988, allocations: 84.95 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.9988, allocations: 7.938 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.9989, allocations: 7.984 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.999, allocations: 4 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.999, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.999, allocations: 79.28 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.999, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00026/0.9993, allocations: 35.98 kB / 1.172 GB, free: 14.49 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 (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.0002748/0.9996, allocations: 143.1 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.9997, allocations: 23.98 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.9998, allocations: 0 / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.9998, allocations: 23.88 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/1, allocations: 7.984 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/1, allocations: 140.9 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/1.001, allocations: 0.6768 MB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/1.001, allocations: 15.44 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of SimCode: time 1.673e-06/1.001, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of Templates: time 0.002885/1.004, allocations: 0.9926 MB / 1.174 GB, free: 12.4 MB / 0.9044 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