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.007938/0.007938, allocations: 97.33 kB / 15.73 MB, free: 5.527 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.002074/0.002074, allocations: 187 kB / 16.67 MB, free: 5.465 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.743/2.743, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3278, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002928/0.3307, allocations: 1.657 MB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8415/1.172, allocations: 151.5 MB / 1.316 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/1.172, allocations: 0.875 kB / 1.316 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002218/1.173, allocations: 15.64 kB / 1.316 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004145/1.173, allocations: 47.08 kB / 1.316 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/1.174, allocations: 147.7 kB / 1.316 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000334/1.174, allocations: 118.9 kB / 1.317 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/1.175, allocations: 34.72 kB / 1.317 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/1.176, allocations: 163.1 kB / 1.317 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/1.176, allocations: 47.75 kB / 1.317 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/1.176, allocations: 7.25 kB / 1.317 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/1.177, allocations: 179.9 kB / 1.317 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/1.177, allocations: 22.84 kB / 1.317 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/1.177, allocations: 47.3 kB / 1.317 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005627/1.178, allocations: 184 kB / 1.317 GB, free: 12.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.178, allocations: 0 / 1.317 GB, free: 12.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/1.178, allocations: 1.094 kB / 1.317 GB, free: 12.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.395e-06/1.178, allocations: 3.938 kB / 1.317 GB, free: 12.32 MB / 1.014 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.0008838/1.178, allocations: 453 kB / 1.318 GB, free: 11.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/1.179, allocations: 10.39 kB / 1.318 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.18, allocations: 85.67 kB / 1.318 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/1.18, allocations: 211 kB / 1.318 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.18, allocations: 3.281 kB / 1.318 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/1.18, allocations: 12.58 kB / 1.318 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/1.181, allocations: 134.6 kB / 1.318 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/1.181, allocations: 4 kB / 1.318 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/1.181, allocations: 1.812 kB / 1.318 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/1.181, allocations: 5 kB / 1.318 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/1.181, allocations: 138.1 kB / 1.318 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/1.182, allocations: 417.5 kB / 1.319 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/1.183, allocations: 253.9 kB / 1.319 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/1.183, allocations: 76.66 kB / 1.319 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/1.183, allocations: 1.031 kB / 1.319 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/1.183, allocations: 32.27 kB / 1.319 GB, free: 11.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/1.183, allocations: 0 / 1.319 GB, free: 11.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0008462/1.184, allocations: 218.3 kB / 1.319 GB, free: 11.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.184, allocations: 51.41 kB / 1.319 GB, free: 11.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/1.184, allocations: 149.9 kB / 1.319 GB, free: 10.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/1.184, allocations: 30.3 kB / 1.319 GB, free: 10.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/1.184, allocations: 104.9 kB / 1.319 GB, free: 10.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/1.184, allocations: 30.62 kB / 1.319 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/1.184, allocations: 25.44 kB / 1.32 GB, free: 10.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.185, allocations: 324.7 kB / 1.32 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/1.185, allocations: 53.05 kB / 1.32 GB, free: 10.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/1.185, allocations: 79.28 kB / 1.32 GB, free: 10.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/1.186, allocations: 118.7 kB / 1.32 GB, free: 10.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.186, allocations: 4.031 kB / 1.32 GB, free: 10.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000552/1.186, allocations: 156.4 kB / 1.32 GB, free: 10.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.186, allocations: 6.531 kB / 1.32 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.186, allocations: 1.156 kB / 1.32 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.186, allocations: 0 / 1.32 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/1.186, allocations: 35.56 kB / 1.32 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/1.186, allocations: 0 / 1.32 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/1.187, allocations: 23.84 kB / 1.32 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/1.187, allocations: 3.859 kB / 1.32 GB, free: 10.39 MB / 1.014 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.0001143/1.187, allocations: 123.4 kB / 1.32 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/1.187, allocations: 8.859 kB / 1.32 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/1.187, allocations: 27.69 kB / 1.32 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.187, allocations: 1.891 kB / 1.32 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.187, allocations: 0 / 1.32 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.187, allocations: 2.141 kB / 1.32 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/1.188, allocations: 473.3 kB / 1.321 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.188, allocations: 0 / 1.321 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/1.188, allocations: 30.36 kB / 1.321 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/1.188, allocations: 1.406 kB / 1.321 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/1.188, allocations: 2.531 kB / 1.321 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.188, allocations: 0 / 1.321 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.188, allocations: 4.719 kB / 1.321 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/1.189, allocations: 262.1 kB / 1.321 GB, free: 9.789 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/1.189, allocations: 86.11 kB / 1.321 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/1.189, allocations: 1.094 kB / 1.321 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/1.189, allocations: 18.77 kB / 1.321 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/1.189, allocations: 12 kB / 1.321 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/1.189, allocations: 3.75 kB / 1.321 GB, free: 9.684 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.911e-05/1.189, allocations: 112.8 kB / 1.321 GB, free: 9.609 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.189, allocations: 1.125 kB / 1.321 GB, free: 9.609 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003213/1.19, allocations: 35.42 kB / 1.321 GB, free: 9.602 MB / 1.014 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.0001839/1.19, allocations: 110.5 kB / 1.322 GB, free: 9.512 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005603/1.19, allocations: 127.9 kB / 1.322 GB, free: 9.504 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.19, allocations: 1 kB / 1.322 GB, free: 9.504 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.191, allocations: 70.22 kB / 1.322 GB, free: 9.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/1.191, allocations: 27.83 kB / 1.322 GB, free: 9.496 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/1.192, allocations: 240 kB / 1.322 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/1.192, allocations: 0.7061 MB / 1.323 GB, free: 8.645 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001735/1.192, allocations: 30.53 kB / 1.323 GB, free: 8.633 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/1.193, allocations: 16.41 kB / 1.323 GB, free: 8.625 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/1.193, allocations: 0 / 1.323 GB, free: 8.625 MB / 1.014 GB Notification: Performance of Templates: time 0.007104/1.2, allocations: 1.946 MB / 1.325 GB, free: 8.488 MB / 1.014 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=480 -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