Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_10_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_10_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.001475/0.001474, allocations: 102.2 kB / 16.27 MB, free: 6 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.00151/0.00151, allocations: 191 kB / 17.2 MB, free: 5.609 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.441/2.441, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 69.19 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003131/0.3026, allocations: 1.649 MB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.623/0.9257, allocations: 151.5 MB / 1.168 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.9259, allocations: 1.062 kB / 1.168 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.9261, allocations: 15.23 kB / 1.168 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.9264, allocations: 47.08 kB / 1.168 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.9269, allocations: 146.5 kB / 1.168 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.9272, allocations: 122.5 kB / 1.168 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.9274, allocations: 32.39 kB / 1.168 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.9288, allocations: 164.6 kB / 1.168 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.9289, allocations: 45.84 kB / 1.168 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.9289, allocations: 7.312 kB / 1.168 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.9295, allocations: 180.9 kB / 1.168 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.9295, allocations: 22.36 kB / 1.168 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.9296, allocations: 49.02 kB / 1.168 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.9301, allocations: 187.4 kB / 1.169 GB, free: 2 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9301, allocations: 1.031 kB / 1.169 GB, free: 2 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.086e-06/0.9301, allocations: 1.688 kB / 1.169 GB, free: 2 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.9301, allocations: 0 / 1.169 GB, free: 2 MB / 0.8731 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.0007525/0.9309, allocations: 445.5 kB / 1.169 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.9309, allocations: 9.75 kB / 1.169 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009904/0.9319, allocations: 86.17 kB / 1.169 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.9322, allocations: 208.3 kB / 1.169 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.9322, allocations: 2.75 kB / 1.169 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.9323, allocations: 9.25 kB / 1.169 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004548/0.9327, allocations: 134.8 kB / 1.169 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.9327, allocations: 1.156 kB / 1.169 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.9328, allocations: 4 kB / 1.169 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.9328, allocations: 6.031 kB / 1.169 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.9333, allocations: 136.1 kB / 1.17 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.9342, allocations: 423.7 kB / 1.17 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.9349, allocations: 253 kB / 1.17 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.9352, allocations: 73.41 kB / 1.17 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.9352, allocations: 1.312 kB / 1.17 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.9353, allocations: 39.81 kB / 1.17 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.9353, allocations: 0 / 1.17 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0008057/0.9361, allocations: 212 kB / 1.17 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.9361, allocations: 54.91 kB / 1.171 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.9363, allocations: 150.7 kB / 1.171 GB, free: 436 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.9363, allocations: 26.86 kB / 1.171 GB, free: 404 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.9364, allocations: 109.7 kB / 1.171 GB, free: 300 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.9364, allocations: 22.98 kB / 1.171 GB, free: 280 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.9365, allocations: 25.58 kB / 1.171 GB, free: 260 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9366, allocations: 323.9 kB / 1.171 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.9369, allocations: 59.52 kB / 1.171 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.9371, allocations: 74.59 kB / 1.171 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.9376, allocations: 118 kB / 1.171 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9376, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005209/0.9381, allocations: 160.8 kB / 1.172 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.9382, allocations: 8.594 kB / 1.172 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9382, allocations: 2.062 kB / 1.172 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.9382, allocations: 0 / 1.172 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.9384, allocations: 28.14 kB / 1.172 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.9384, allocations: 0 / 1.172 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.9386, allocations: 18.66 kB / 1.172 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.9386, allocations: 7.719 kB / 1.172 GB, free: 15.77 MB / 0.8887 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.0001097/0.9387, allocations: 131.9 kB / 1.172 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.9388, allocations: 8.438 kB / 1.172 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.9388, allocations: 11.91 kB / 1.172 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.9388, allocations: 2 kB / 1.172 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9388, allocations: 1.094 kB / 1.172 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9389, allocations: 2.484 kB / 1.172 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008473/0.9397, allocations: 473.2 kB / 1.172 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.9397, allocations: 3.938 kB / 1.172 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.9399, allocations: 31.45 kB / 1.172 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9399, allocations: 0 / 1.172 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.9399, allocations: 5.188 kB / 1.172 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.94, allocations: 3.719 kB / 1.172 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.94, allocations: 7.922 kB / 1.172 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.9405, allocations: 263.8 kB / 1.173 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.9406, allocations: 83.36 kB / 1.173 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.9406, allocations: 1.344 kB / 1.173 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.9408, allocations: 18.94 kB / 1.173 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.9408, allocations: 9.281 kB / 1.173 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.9409, allocations: 2.906 kB / 1.173 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 7.902e-05/0.9409, allocations: 118.6 kB / 1.173 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.01e-07/0.941, allocations: 0 / 1.173 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002853/0.9412, allocations: 30.61 kB / 1.173 GB, free: 14.88 MB / 0.8887 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.0001808/0.9414, allocations: 114.3 kB / 1.173 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.942, allocations: 132.1 kB / 1.173 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.942, allocations: 0 / 1.173 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.9422, allocations: 62.67 kB / 1.173 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.9426, allocations: 41.09 kB / 1.173 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.9433, allocations: 276.3 kB / 1.173 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.9437, allocations: 0.699 MB / 1.174 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.303e-05/0.9437, allocations: 17.58 kB / 1.174 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/0.9437, allocations: 0 / 1.174 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of Templates: time 0.004167/0.9479, allocations: 1.716 MB / 1.176 GB, free: 13.14 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches