Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001076/0.001076, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.00124/0.00124, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.348/1.348, 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 11.0.0-master/package.mo): time 2.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 60.09 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3111, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002694/0.3139, allocations: 1.655 MB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.714/1.028, allocations: 151.5 MB / 1.176 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/1.028, allocations: 5.25 kB / 1.176 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/1.028, allocations: 15.72 kB / 1.176 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002398/1.028, allocations: 46.86 kB / 1.176 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/1.029, allocations: 143 kB / 1.177 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/1.029, allocations: 118.5 kB / 1.177 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/1.029, allocations: 33.62 kB / 1.177 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/1.03, allocations: 158.1 kB / 1.177 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.688e-05/1.03, allocations: 42.44 kB / 1.177 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/1.03, allocations: 6.469 kB / 1.177 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/1.031, allocations: 184.8 kB / 1.177 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/1.031, allocations: 26.09 kB / 1.177 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/1.031, allocations: 46.05 kB / 1.177 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/1.031, allocations: 187.7 kB / 1.177 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.031, allocations: 1.25 kB / 1.177 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/1.031, allocations: 0 / 1.177 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.202e-06/1.031, allocations: 0 / 1.177 GB, free: 8.238 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000609/1.032, allocations: 444.5 kB / 1.178 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.032, allocations: 13.12 kB / 1.178 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009694/1.033, allocations: 86.62 kB / 1.178 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/1.033, allocations: 210.7 kB / 1.178 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/1.033, allocations: 7.281 kB / 1.178 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/1.033, allocations: 9.531 kB / 1.178 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/1.034, allocations: 134.6 kB / 1.178 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/1.034, allocations: 0 / 1.178 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.034, allocations: 5 kB / 1.178 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.034, allocations: 6 kB / 1.178 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/1.034, allocations: 139.3 kB / 1.178 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/1.035, allocations: 414.5 kB / 1.179 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/1.036, allocations: 254.6 kB / 1.179 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/1.036, allocations: 70.36 kB / 1.179 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/1.036, allocations: 5.219 kB / 1.179 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/1.036, allocations: 35.56 kB / 1.179 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 2.705e-06/1.036, allocations: 3.984 kB / 1.179 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.000749/1.037, allocations: 213.6 kB / 1.179 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/1.037, allocations: 56.45 kB / 1.179 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/1.037, allocations: 146.6 kB / 1.179 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/1.037, allocations: 27.02 kB / 1.179 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/1.037, allocations: 105 kB / 1.18 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/1.037, allocations: 22.14 kB / 1.18 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/1.037, allocations: 28.52 kB / 1.18 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/1.037, allocations: 330.2 kB / 1.18 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/1.037, allocations: 60.48 kB / 1.18 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/1.038, allocations: 75.78 kB / 1.18 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/1.038, allocations: 117.2 kB / 1.18 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.038, allocations: 0 / 1.18 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004628/1.039, allocations: 169.3 kB / 1.18 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.039, allocations: 5.031 kB / 1.18 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/1.039, allocations: 0 / 1.18 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.039, allocations: 1.312 kB / 1.18 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/1.039, allocations: 26.94 kB / 1.18 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.039, allocations: 80 / 1.18 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/1.039, allocations: 18.08 kB / 1.18 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/1.039, allocations: 10.25 kB / 1.18 GB, free: 5.773 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 9.664e-05/1.039, allocations: 126.8 kB / 1.181 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/1.039, allocations: 8.844 kB / 1.181 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/1.039, allocations: 15.39 kB / 1.181 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/1.039, allocations: 5.094 kB / 1.181 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.039, allocations: 0 / 1.181 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.039, allocations: 5.375 kB / 1.181 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007791/1.04, allocations: 469.7 kB / 1.181 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.04, allocations: 0 / 1.181 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.04, allocations: 30.19 kB / 1.181 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.04, allocations: 1.188 kB / 1.181 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.04, allocations: 1.125 kB / 1.181 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.04, allocations: 0 / 1.181 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.04, allocations: 6.062 kB / 1.181 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/1.041, allocations: 259 kB / 1.181 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/1.041, allocations: 84.2 kB / 1.181 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/1.041, allocations: 1.031 kB / 1.181 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/1.041, allocations: 20.84 kB / 1.181 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/1.041, allocations: 10.11 kB / 1.181 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/1.041, allocations: 2.188 kB / 1.181 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 7.455e-05/1.041, allocations: 121.5 kB / 1.182 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.393e-06/1.041, allocations: 0 / 1.182 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002783/1.042, allocations: 36.16 kB / 1.182 GB, free: 4.758 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.0001788/1.042, allocations: 118.2 kB / 1.182 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004787/1.042, allocations: 124.7 kB / 1.182 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.042, allocations: 1.469 kB / 1.182 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/1.042, allocations: 64.12 kB / 1.182 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/1.043, allocations: 35.97 kB / 1.182 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/1.043, allocations: 236.7 kB / 1.182 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/1.044, allocations: 0.7 MB / 1.183 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001239/1.044, allocations: 32.16 kB / 1.183 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/1.044, allocations: 22.48 kB / 1.183 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of SimCode: time 2.4e-07/1.044, allocations: 0 / 1.183 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of Templates: time 0.00478/1.049, allocations: 1.932 MB / 1.185 GB, free: 2.668 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches