Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.002349/0.002349, allocations: 187 kB / 17.34 MB, free: 5.719 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.117, allocations: 140.3 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002886/1.12, allocations: 1.653 MB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1909/1.311, allocations: 151.6 MB / 1.238 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/1.311, allocations: 1.125 kB / 1.238 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/1.312, allocations: 17.05 kB / 1.238 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003077/1.312, allocations: 41.05 kB / 1.238 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/1.312, allocations: 157.6 kB / 1.238 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/1.313, allocations: 117.5 kB / 1.239 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/1.313, allocations: 37.88 kB / 1.239 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/1.314, allocations: 166.8 kB / 1.239 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/1.314, allocations: 40.34 kB / 1.239 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/1.314, allocations: 7.594 kB / 1.239 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/1.315, allocations: 184.4 kB / 1.239 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/1.315, allocations: 25.91 kB / 1.239 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/1.315, allocations: 40.88 kB / 1.239 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/1.315, allocations: 194.2 kB / 1.239 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.315, allocations: 1.094 kB / 1.239 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/1.315, allocations: 4 kB / 1.239 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.315, allocations: 0 / 1.239 GB, free: 1.656 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007042/1.316, allocations: 443.3 kB / 1.24 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.316, allocations: 9.562 kB / 1.24 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/1.317, allocations: 85.22 kB / 1.24 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/1.317, allocations: 206 kB / 1.24 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/1.317, allocations: 3.375 kB / 1.24 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/1.317, allocations: 9.562 kB / 1.24 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/1.318, allocations: 139.5 kB / 1.24 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.318, allocations: 7.875 kB / 1.24 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/1.318, allocations: 5.094 kB / 1.24 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.318, allocations: 5.094 kB / 1.24 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/1.319, allocations: 135.5 kB / 1.24 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008328/1.319, allocations: 411.2 kB / 1.241 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/1.32, allocations: 260.8 kB / 1.241 GB, free: 192 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/1.32, allocations: 71.3 kB / 1.241 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/1.32, allocations: 5.312 kB / 1.241 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/1.32, allocations: 43.92 kB / 1.241 GB, free: 100 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/1.32, allocations: 0 / 1.241 GB, free: 100 kB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0007886/1.321, allocations: 217.7 kB / 1.241 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.321, allocations: 52.78 kB / 1.241 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/1.321, allocations: 152.8 kB / 1.241 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/1.321, allocations: 27.08 kB / 1.241 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/1.321, allocations: 96.27 kB / 1.241 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/1.322, allocations: 30.44 kB / 1.241 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/1.322, allocations: 24.58 kB / 1.242 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.322, allocations: 325.5 kB / 1.242 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/1.322, allocations: 56.83 kB / 1.242 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/1.322, allocations: 75.52 kB / 1.242 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/1.323, allocations: 129.2 kB / 1.242 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.323, allocations: 0 / 1.242 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000494/1.323, allocations: 153.4 kB / 1.242 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.323, allocations: 4.219 kB / 1.242 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.323, allocations: 4 kB / 1.242 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.323, allocations: 1.375 kB / 1.242 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/1.323, allocations: 26.97 kB / 1.242 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.323, allocations: 3.984 kB / 1.242 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/1.324, allocations: 18.44 kB / 1.242 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/1.324, allocations: 1.375 kB / 1.242 GB, free: 15.02 MB / 0.9825 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 (8): * Single equations (assignments): 8 * 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.0001199/1.324, allocations: 139 kB / 1.242 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/1.324, allocations: 8.719 kB / 1.242 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/1.324, allocations: 11.03 kB / 1.242 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.324, allocations: 1.156 kB / 1.242 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.324, allocations: 1.156 kB / 1.242 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.324, allocations: 0 / 1.242 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/1.325, allocations: 466.5 kB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.325, allocations: 1.375 kB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/1.325, allocations: 30.16 kB / 1.243 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/1.325, allocations: 3.938 kB / 1.243 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/1.325, allocations: 5.047 kB / 1.243 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.325, allocations: 9.438 kB / 1.243 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.325, allocations: 4.016 kB / 1.243 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/1.325, allocations: 255.9 kB / 1.243 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/1.326, allocations: 92.11 kB / 1.243 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/1.326, allocations: 0 / 1.243 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/1.326, allocations: 21.17 kB / 1.243 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/1.326, allocations: 6.828 kB / 1.243 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/1.326, allocations: 2.156 kB / 1.243 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.528e-05/1.326, allocations: 117.2 kB / 1.243 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.11e-07/1.326, allocations: 0 / 1.243 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002817/1.326, allocations: 23.84 kB / 1.243 GB, free: 14.01 MB / 0.9825 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 (8): * Single equations (assignments): 8 * 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.0001836/1.326, allocations: 126.6 kB / 1.244 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004951/1.327, allocations: 124.9 kB / 1.244 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.327, allocations: 0 / 1.244 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/1.327, allocations: 69.39 kB / 1.244 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/1.327, allocations: 29.47 kB / 1.244 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/1.328, allocations: 260.1 kB / 1.244 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.328, allocations: 0.7005 MB / 1.245 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/1.329, allocations: 22.11 kB / 1.245 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/1.329, allocations: 0 / 1.245 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of Templates: time 0.004048/1.333, allocations: 1.727 MB / 1.246 GB, free: 11.75 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches