Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.006142/0.006142, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.00129/0.00129, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.36/1.36, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6968/0.6981, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002678/0.7008, allocations: 1.703 MB / 0.9512 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.8714, allocations: 149.3 MB / 1.097 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.8716, allocations: 3.938 kB / 1.097 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.8718, allocations: 15.92 kB / 1.097 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.8721, allocations: 39.78 kB / 1.097 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.8725, allocations: 119.5 kB / 1.097 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.8727, allocations: 119.6 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.8728, allocations: 31.36 kB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.8746, allocations: 150.4 kB / 1.097 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.8747, allocations: 43.77 kB / 1.097 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.8748, allocations: 4 kB / 1.097 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.8752, allocations: 175.7 kB / 1.098 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.8752, allocations: 27.92 kB / 1.098 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.8753, allocations: 43.67 kB / 1.098 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.8755, allocations: 131.7 kB / 1.098 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.8755, allocations: 4 kB / 1.098 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8755, allocations: 3.938 kB / 1.098 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.8756, allocations: 0 / 1.098 GB, free: 9.73 MB / 0.8575 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.0006882/0.8763, allocations: 447.6 kB / 1.098 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.8763, allocations: 8.031 kB / 1.098 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/0.8773, allocations: 83.94 kB / 1.098 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.8775, allocations: 208.7 kB / 1.099 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.8775, allocations: 4 kB / 1.099 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.8776, allocations: 12 kB / 1.099 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.878, allocations: 137.5 kB / 1.099 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.878, allocations: 0 / 1.099 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.8781, allocations: 3.938 kB / 1.099 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.8781, allocations: 3.938 kB / 1.099 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.8786, allocations: 135.9 kB / 1.099 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000822/0.8794, allocations: 412.4 kB / 1.099 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/0.8802, allocations: 251.7 kB / 1.099 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.8804, allocations: 80.78 kB / 1.1 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.8805, allocations: 7.984 kB / 1.1 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.8805, allocations: 30.56 kB / 1.1 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.8805, allocations: 0 / 1.1 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0007748/0.8813, allocations: 217.4 kB / 1.1 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.8813, allocations: 55.41 kB / 1.1 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.8815, allocations: 143.9 kB / 1.1 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.8815, allocations: 29.69 kB / 1.1 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.8816, allocations: 104 kB / 1.1 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.8816, allocations: 27.78 kB / 1.1 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.8817, allocations: 25.7 kB / 1.1 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.8818, allocations: 326.8 kB / 1.1 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.8821, allocations: 55.94 kB / 1.101 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.8823, allocations: 74.52 kB / 1.101 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.8827, allocations: 124.8 kB / 1.101 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8827, allocations: 3.938 kB / 1.101 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004839/0.8832, allocations: 157.5 kB / 1.101 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.8833, allocations: 5.406 kB / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.8833, allocations: 0 / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8833, allocations: 0 / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.8835, allocations: 27.97 kB / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8836, allocations: 0 / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.8837, allocations: 31.88 kB / 1.101 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.8838, allocations: 0 / 1.101 GB, free: 6.312 MB / 0.8575 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/0.8839, allocations: 133.6 kB / 1.101 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.8839, allocations: 11.89 kB / 1.101 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.884, allocations: 12.72 kB / 1.101 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.884, allocations: 4 kB / 1.101 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.884, allocations: 4 kB / 1.101 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.8841, allocations: 0 / 1.101 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/0.8849, allocations: 462.2 kB / 1.102 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8849, allocations: 4 kB / 1.102 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.8851, allocations: 27.97 kB / 1.102 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.8851, allocations: 0 / 1.102 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.8851, allocations: 11.92 kB / 1.102 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.8851, allocations: 3.938 kB / 1.102 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8851, allocations: 0 / 1.102 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.8857, allocations: 255.3 kB / 1.102 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.8857, allocations: 85.02 kB / 1.102 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.8858, allocations: 4 kB / 1.102 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.8859, allocations: 19.92 kB / 1.102 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.886, allocations: 7.984 kB / 1.102 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.886, allocations: 8 kB / 1.102 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.884e-05/0.8861, allocations: 117.5 kB / 1.102 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8861, allocations: 0 / 1.102 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002757/0.8864, allocations: 27.94 kB / 1.102 GB, free: 5.039 MB / 0.8575 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.0002045/0.8866, allocations: 123.2 kB / 1.102 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005164/0.8871, allocations: 124.6 kB / 1.102 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8872, allocations: 0 / 1.102 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.8874, allocations: 67.88 kB / 1.102 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.8878, allocations: 31.98 kB / 1.102 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/0.8884, allocations: 293.3 kB / 1.103 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.8888, allocations: 0.7004 MB / 1.103 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.8888, allocations: 19.42 kB / 1.103 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/0.8888, allocations: 0 / 1.103 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of Templates: time 0.003571/0.8924, allocations: 1.707 MB / 1.105 GB, free: 1.926 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches