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.009049/0.009049, allocations: 97 kB / 15.73 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.00199/0.00199, allocations: 192 kB / 16.67 MB, free: 6.391 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 469.8 MB / 0.7425 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3017, allocations: 159.1 MB / 1.221 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002548/0.3042, allocations: 1.643 MB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9358/1.24, allocations: 152 MB / 1.371 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/1.24, allocations: 1.281 kB / 1.371 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/1.24, allocations: 18.23 kB / 1.371 GB, free: 12.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003365/1.241, allocations: 40.97 kB / 1.371 GB, free: 12.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/1.241, allocations: 149.5 kB / 1.371 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/1.242, allocations: 124.5 kB / 1.371 GB, free: 12.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/1.242, allocations: 23.78 kB / 1.371 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/1.244, allocations: 170.7 kB / 1.371 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/1.244, allocations: 44.16 kB / 1.371 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/1.244, allocations: 7.781 kB / 1.371 GB, free: 12.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/1.244, allocations: 182.1 kB / 1.371 GB, free: 12.59 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/1.244, allocations: 21.3 kB / 1.371 GB, free: 12.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/1.244, allocations: 44.83 kB / 1.371 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005224/1.245, allocations: 201 kB / 1.372 GB, free: 12.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.245, allocations: 1.5 kB / 1.372 GB, free: 12.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.655e-06/1.245, allocations: 2.344 kB / 1.372 GB, free: 12.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.846e-06/1.245, allocations: 0 / 1.372 GB, free: 12.47 MB / 1.076 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.0009116/1.246, allocations: 446.6 kB / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.246, allocations: 10.31 kB / 1.372 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/1.247, allocations: 80.84 kB / 1.372 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/1.248, allocations: 205.1 kB / 1.372 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/1.248, allocations: 11.23 kB / 1.372 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/1.248, allocations: 5.281 kB / 1.372 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/1.248, allocations: 138.8 kB / 1.372 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/1.248, allocations: 1.688 kB / 1.372 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/1.248, allocations: 9.547 kB / 1.372 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.248, allocations: 5.188 kB / 1.372 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/1.249, allocations: 144.3 kB / 1.373 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000873/1.25, allocations: 421 kB / 1.373 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/1.251, allocations: 242.2 kB / 1.373 GB, free: 11.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/1.251, allocations: 69.38 kB / 1.373 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/1.251, allocations: 1.125 kB / 1.373 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.251, allocations: 45.2 kB / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/1.251, allocations: 0 / 1.373 GB, free: 11.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0008226/1.252, allocations: 218.7 kB / 1.374 GB, free: 11.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/1.252, allocations: 52.75 kB / 1.374 GB, free: 11.01 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.252, allocations: 150.6 kB / 1.374 GB, free: 10.89 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/1.252, allocations: 25.7 kB / 1.374 GB, free: 10.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/1.252, allocations: 104.5 kB / 1.374 GB, free: 10.76 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/1.252, allocations: 30.56 kB / 1.374 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/1.252, allocations: 23.25 kB / 1.374 GB, free: 10.72 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.252, allocations: 324.1 kB / 1.374 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/1.253, allocations: 59.42 kB / 1.374 GB, free: 10.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/1.253, allocations: 73.77 kB / 1.374 GB, free: 10.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/1.253, allocations: 121.5 kB / 1.374 GB, free: 10.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.253, allocations: 1.531 kB / 1.374 GB, free: 10.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005068/1.254, allocations: 159.5 kB / 1.375 GB, free: 10.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.254, allocations: 5.219 kB / 1.375 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.254, allocations: 0 / 1.375 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.254, allocations: 1.25 kB / 1.375 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/1.254, allocations: 27.48 kB / 1.375 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.254, allocations: 5.156 kB / 1.375 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/1.254, allocations: 23.45 kB / 1.375 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/1.254, allocations: 6.281 kB / 1.375 GB, free: 10.23 MB / 1.076 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.0001076/1.254, allocations: 129.3 kB / 1.375 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/1.254, allocations: 12.42 kB / 1.375 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/1.254, allocations: 14.92 kB / 1.375 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.254, allocations: 2.094 kB / 1.375 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.254, allocations: 0 / 1.375 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.254, allocations: 1.125 kB / 1.375 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008339/1.255, allocations: 465.1 kB / 1.375 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.255, allocations: 0 / 1.375 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/1.255, allocations: 31.17 kB / 1.375 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.255, allocations: 6.281 kB / 1.375 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/1.255, allocations: 1.969 kB / 1.375 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.255, allocations: 1.406 kB / 1.375 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.255, allocations: 3.938 kB / 1.375 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/1.256, allocations: 259.7 kB / 1.376 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/1.256, allocations: 88.95 kB / 1.376 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/1.256, allocations: 0 / 1.376 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/1.256, allocations: 19.92 kB / 1.376 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/1.256, allocations: 14.77 kB / 1.376 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.256, allocations: 1.031 kB / 1.376 GB, free: 9.434 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.106e-05/1.256, allocations: 115.8 kB / 1.376 GB, free: 9.348 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/1.256, allocations: 4 kB / 1.376 GB, free: 9.344 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002866/1.257, allocations: 29 kB / 1.376 GB, free: 9.34 MB / 1.076 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.0002279/1.257, allocations: 113.9 kB / 1.376 GB, free: 9.246 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00072/1.258, allocations: 126.8 kB / 1.376 GB, free: 9.219 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.258, allocations: 1.438 kB / 1.376 GB, free: 9.219 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/1.258, allocations: 61 kB / 1.376 GB, free: 9.207 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/1.258, allocations: 35.48 kB / 1.376 GB, free: 9.191 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00094/1.259, allocations: 241.3 kB / 1.376 GB, free: 9.023 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/1.26, allocations: 0.6986 MB / 1.377 GB, free: 8.328 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001425/1.26, allocations: 35.67 kB / 1.377 GB, free: 8.312 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/1.26, allocations: 16.7 kB / 1.377 GB, free: 8.305 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/1.26, allocations: 0 / 1.377 GB, free: 8.305 MB / 1.076 GB Notification: Performance of Templates: time 0.005874/1.266, allocations: 1.947 MB / 1.379 GB, free: 7.707 MB / 1.076 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=480 -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/jenkins/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