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.001783/0.001783, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002143/0.002143, allocations: 195.2 kB / 16.14 MB, free: 6.637 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.798/2.798, allocations: 437 MB / 0.71 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 75.88 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.704/0.7062, allocations: 151.6 MB / 1.017 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003157/0.7094, allocations: 1.694 MB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.8905, allocations: 149.3 MB / 1.164 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.8907, allocations: 0 / 1.164 GB, free: 11.39 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.8909, allocations: 7.938 kB / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.8911, allocations: 35.77 kB / 1.164 GB, free: 11.35 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.8916, allocations: 127.5 kB / 1.164 GB, free: 11.22 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000185/0.8918, allocations: 111.6 kB / 1.164 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.8919, allocations: 31.5 kB / 1.164 GB, free: 11.08 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.8941, allocations: 158.6 kB / 1.165 GB, free: 10.95 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.8942, allocations: 43.78 kB / 1.165 GB, free: 10.9 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.8942, allocations: 4 kB / 1.165 GB, free: 10.9 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.8947, allocations: 187.6 kB / 1.165 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.8947, allocations: 23.92 kB / 1.165 GB, free: 10.69 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.8948, allocations: 39.73 kB / 1.165 GB, free: 10.65 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.8952, allocations: 183.5 kB / 1.165 GB, free: 10.47 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8952, allocations: 0 / 1.165 GB, free: 10.47 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8952, allocations: 0 / 1.165 GB, free: 10.47 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8952, allocations: 0 / 1.165 GB, free: 10.47 MB / 0.92 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.0007219/0.8959, allocations: 443 kB / 1.165 GB, free: 9.992 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.896, allocations: 16.02 kB / 1.165 GB, free: 9.977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.897, allocations: 79.84 kB / 1.165 GB, free: 9.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.8973, allocations: 214.7 kB / 1.166 GB, free: 9.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.8973, allocations: 4 kB / 1.166 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.8973, allocations: 8 kB / 1.166 GB, free: 9.637 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.8978, allocations: 129.6 kB / 1.166 GB, free: 9.504 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8978, allocations: 0 / 1.166 GB, free: 9.504 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.8978, allocations: 4 kB / 1.166 GB, free: 9.5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.8978, allocations: 11.94 kB / 1.166 GB, free: 9.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.8984, allocations: 131.9 kB / 1.166 GB, free: 9.359 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.8993, allocations: 424.1 kB / 1.166 GB, free: 8.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.9001, allocations: 255.7 kB / 1.167 GB, free: 8.617 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.9003, allocations: 80.78 kB / 1.167 GB, free: 8.535 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.9004, allocations: 4 kB / 1.167 GB, free: 8.531 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.9004, allocations: 30.56 kB / 1.167 GB, free: 8.492 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.9004, allocations: 0 / 1.167 GB, free: 8.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0008409/0.9013, allocations: 213.4 kB / 1.167 GB, free: 8.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.9013, allocations: 51.41 kB / 1.167 GB, free: 8.215 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.9015, allocations: 152.1 kB / 1.167 GB, free: 8.055 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.9015, allocations: 25.7 kB / 1.167 GB, free: 8.023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.9016, allocations: 104 kB / 1.167 GB, free: 7.918 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.9016, allocations: 27.73 kB / 1.167 GB, free: 7.891 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.9017, allocations: 33.7 kB / 1.167 GB, free: 7.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.9019, allocations: 322.8 kB / 1.168 GB, free: 7.527 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.9021, allocations: 47.95 kB / 1.168 GB, free: 7.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.9024, allocations: 82.52 kB / 1.168 GB, free: 7.391 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.9028, allocations: 116.8 kB / 1.168 GB, free: 7.273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9029, allocations: 0 / 1.168 GB, free: 7.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005338/0.9034, allocations: 161.4 kB / 1.168 GB, free: 7.109 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.9034, allocations: 8 kB / 1.168 GB, free: 7.102 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.9034, allocations: 3.984 kB / 1.168 GB, free: 7.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9035, allocations: 0 / 1.168 GB, free: 7.098 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.9037, allocations: 31.91 kB / 1.168 GB, free: 7.066 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9037, allocations: 4.547 kB / 1.168 GB, free: 7.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.9039, allocations: 11.98 kB / 1.168 GB, free: 7.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.9039, allocations: 8 kB / 1.168 GB, free: 7.043 MB / 0.92 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.0001157/0.904, allocations: 121.8 kB / 1.168 GB, free: 6.914 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.9041, allocations: 7.906 kB / 1.168 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.31e-05/0.9041, allocations: 20.72 kB / 1.168 GB, free: 6.887 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.9042, allocations: 0 / 1.168 GB, free: 6.887 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9042, allocations: 0 / 1.168 GB, free: 6.887 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.9042, allocations: 7.938 kB / 1.168 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009097/0.9051, allocations: 470.1 kB / 1.169 GB, free: 6.363 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.9051, allocations: 4 kB / 1.169 GB, free: 6.359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.9053, allocations: 31.89 kB / 1.169 GB, free: 6.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.9053, allocations: 4 kB / 1.169 GB, free: 6.324 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.9053, allocations: 8 kB / 1.169 GB, free: 6.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.9054, allocations: 3.938 kB / 1.169 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9054, allocations: 0 / 1.169 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.9059, allocations: 255.3 kB / 1.169 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.906, allocations: 85.02 kB / 1.169 GB, free: 5.945 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.9061, allocations: 4 kB / 1.169 GB, free: 5.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.9063, allocations: 27.81 kB / 1.169 GB, free: 5.914 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.9063, allocations: 4 kB / 1.169 GB, free: 5.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.9063, allocations: 7.984 kB / 1.169 GB, free: 5.902 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.798e-05/0.9064, allocations: 109.3 kB / 1.169 GB, free: 5.797 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9064, allocations: 0 / 1.169 GB, free: 5.797 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002874/0.9067, allocations: 31.94 kB / 1.169 GB, free: 5.766 MB / 0.92 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.0002098/0.9069, allocations: 111.8 kB / 1.169 GB, free: 5.648 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.9075, allocations: 127.8 kB / 1.169 GB, free: 5.523 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9075, allocations: 4 kB / 1.169 GB, free: 5.52 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.9077, allocations: 67.94 kB / 1.17 GB, free: 5.453 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.9081, allocations: 27.98 kB / 1.17 GB, free: 5.426 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.9088, allocations: 265.1 kB / 1.17 GB, free: 5.145 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.9091, allocations: 0.7004 MB / 1.17 GB, free: 4.418 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.9093, allocations: 36.33 kB / 1.171 GB, free: 4.383 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.9094, allocations: 15.38 kB / 1.171 GB, free: 4.367 MB / 0.92 GB Notification: Performance of SimCode: time 2.91e-07/0.9094, allocations: 0 / 1.171 GB, free: 4.367 MB / 0.92 GB Notification: Performance of Templates: time 0.005103/0.9145, allocations: 1.755 MB / 1.172 GB, free: 2.637 MB / 0.92 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=400 -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/jenkins/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