Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.002338/0.002338, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.002492/0.002492, allocations: 193 kB / 16.91 MB, free: 6.195 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.478/1.478, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 65.88 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.316, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003299/0.3194, allocations: 1.7 MB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7106/1.03, allocations: 149.4 MB / 1.212 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/1.03, allocations: 1.469 kB / 1.212 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001623/1.03, allocations: 13.2 kB / 1.212 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002697/1.031, allocations: 43.58 kB / 1.212 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/1.031, allocations: 125.1 kB / 1.212 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/1.031, allocations: 123.2 kB / 1.212 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/1.031, allocations: 35.2 kB / 1.212 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/1.034, allocations: 165.2 kB / 1.212 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/1.034, allocations: 45.19 kB / 1.212 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/1.034, allocations: 7.281 kB / 1.212 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/1.034, allocations: 183.4 kB / 1.212 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/1.034, allocations: 25.81 kB / 1.212 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/1.034, allocations: 48.45 kB / 1.212 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/1.035, allocations: 134.7 kB / 1.213 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.035, allocations: 1.375 kB / 1.213 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.035, allocations: 4 kB / 1.213 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.091e-06/1.035, allocations: 0 / 1.213 GB, free: 12.7 MB / 0.9356 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.0006911/1.035, allocations: 435.6 kB / 1.213 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/1.035, allocations: 10.66 kB / 1.213 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009542/1.036, allocations: 89.58 kB / 1.213 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/1.037, allocations: 204.3 kB / 1.213 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.037, allocations: 7.281 kB / 1.213 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/1.037, allocations: 10.44 kB / 1.213 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/1.037, allocations: 136.9 kB / 1.213 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.037, allocations: 3.984 kB / 1.213 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/1.037, allocations: 1.219 kB / 1.213 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/1.037, allocations: 4.969 kB / 1.213 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/1.038, allocations: 140 kB / 1.214 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008177/1.039, allocations: 416.5 kB / 1.214 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/1.039, allocations: 247.9 kB / 1.214 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/1.04, allocations: 76.55 kB / 1.214 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/1.04, allocations: 1.062 kB / 1.214 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.04, allocations: 35.59 kB / 1.214 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/1.04, allocations: 5.062 kB / 1.214 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0007834/1.04, allocations: 212.7 kB / 1.214 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/1.04, allocations: 56.59 kB / 1.215 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/1.041, allocations: 147 kB / 1.215 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/1.041, allocations: 29.7 kB / 1.215 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/1.041, allocations: 108.5 kB / 1.215 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/1.041, allocations: 28.08 kB / 1.215 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/1.041, allocations: 23.58 kB / 1.215 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.041, allocations: 325.6 kB / 1.215 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/1.041, allocations: 56.45 kB / 1.215 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/1.041, allocations: 77.25 kB / 1.215 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/1.042, allocations: 120.8 kB / 1.215 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.042, allocations: 0 / 1.215 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004961/1.042, allocations: 162.3 kB / 1.216 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.042, allocations: 7.719 kB / 1.216 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/1.042, allocations: 1.812 kB / 1.216 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.042, allocations: 3.984 kB / 1.216 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/1.043, allocations: 27.25 kB / 1.216 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.043, allocations: 3.938 kB / 1.216 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/1.043, allocations: 17.3 kB / 1.216 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/1.043, allocations: 6.875 kB / 1.216 GB, free: 10.08 MB / 0.9356 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.0001249/1.043, allocations: 127.1 kB / 1.216 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/1.043, allocations: 8.625 kB / 1.216 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/1.043, allocations: 15.81 kB / 1.216 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.043, allocations: 0 / 1.216 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.043, allocations: 1.469 kB / 1.216 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/1.043, allocations: 0 / 1.216 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/1.044, allocations: 474 kB / 1.216 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.044, allocations: 1.031 kB / 1.216 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/1.044, allocations: 30.77 kB / 1.216 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.044, allocations: 7.938 kB / 1.216 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.044, allocations: 1 kB / 1.216 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.044, allocations: 1.281 kB / 1.216 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.044, allocations: 3.938 kB / 1.216 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005629/1.045, allocations: 260 kB / 1.217 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/1.045, allocations: 83.36 kB / 1.217 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/1.045, allocations: 1.062 kB / 1.217 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/1.045, allocations: 20.81 kB / 1.217 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/1.045, allocations: 12.06 kB / 1.217 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/1.045, allocations: 9.297 kB / 1.217 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.038e-05/1.045, allocations: 109.6 kB / 1.217 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/1.045, allocations: 4 kB / 1.217 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002837/1.046, allocations: 35.31 kB / 1.217 GB, free: 9.059 MB / 0.9356 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.0001797/1.046, allocations: 106.6 kB / 1.217 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004991/1.046, allocations: 140.4 kB / 1.217 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.046, allocations: 3.938 kB / 1.217 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/1.047, allocations: 68.89 kB / 1.217 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/1.047, allocations: 25.31 kB / 1.217 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/1.048, allocations: 287 kB / 1.217 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/1.048, allocations: 0.6993 MB / 1.218 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/1.048, allocations: 18.97 kB / 1.218 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/1.048, allocations: 0 / 1.218 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of Templates: time 0.003738/1.052, allocations: 1.728 MB / 1.22 GB, free: 7.004 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches