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.001305/0.001305, allocations: 104.9 kB / 15.98 MB, free: 6.34 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.001241/0.001241, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.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.574/2.574, allocations: 437.1 MB / 0.7107 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 72.7 kB / 0.8694 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3361, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.0033/0.3394, allocations: 1.698 MB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6708/1.01, allocations: 149.4 MB / 1.165 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/1.01, allocations: 1.094 kB / 1.165 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/1.011, allocations: 11.2 kB / 1.165 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002551/1.011, allocations: 43.69 kB / 1.165 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/1.011, allocations: 130.7 kB / 1.165 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/1.012, allocations: 120.1 kB / 1.165 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/1.012, allocations: 32.22 kB / 1.165 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/1.014, allocations: 164.7 kB / 1.165 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 7.436e-05/1.014, allocations: 50.88 kB / 1.166 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/1.014, allocations: 6.938 kB / 1.166 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/1.014, allocations: 183.4 kB / 1.166 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/1.014, allocations: 31.16 kB / 1.166 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/1.014, allocations: 42.47 kB / 1.166 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/1.015, allocations: 136 kB / 1.166 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.015, allocations: 0 / 1.166 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.163e-06/1.015, allocations: 0 / 1.166 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.015, allocations: 0 / 1.166 GB, free: 3.711 MB / 0.8731 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.0006658/1.015, allocations: 442.8 kB / 1.166 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/1.015, allocations: 9.281 kB / 1.166 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/1.016, allocations: 88.69 kB / 1.166 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/1.016, allocations: 198.1 kB / 1.167 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/1.016, allocations: 7.469 kB / 1.167 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/1.016, allocations: 12.2 kB / 1.167 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/1.017, allocations: 136.2 kB / 1.167 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.017, allocations: 1.156 kB / 1.167 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/1.017, allocations: 4 kB / 1.167 GB, free: 3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.017, allocations: 6.094 kB / 1.167 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/1.017, allocations: 135.7 kB / 1.167 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/1.018, allocations: 424.5 kB / 1.167 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/1.019, allocations: 250.2 kB / 1.168 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/1.019, allocations: 71.23 kB / 1.168 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/1.019, allocations: 5.328 kB / 1.168 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.019, allocations: 40.06 kB / 1.168 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/1.019, allocations: 0 / 1.168 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0007475/1.02, allocations: 215.4 kB / 1.168 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/1.02, allocations: 55.41 kB / 1.168 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.02, allocations: 148.5 kB / 1.168 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/1.02, allocations: 26.86 kB / 1.168 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/1.02, allocations: 103.3 kB / 1.168 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/1.02, allocations: 25.45 kB / 1.168 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/1.02, allocations: 23.3 kB / 1.168 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.021, allocations: 323.6 kB / 1.169 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/1.021, allocations: 58.8 kB / 1.169 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/1.021, allocations: 78.06 kB / 1.169 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/1.022, allocations: 121.4 kB / 1.169 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.022, allocations: 0 / 1.169 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004726/1.022, allocations: 160.3 kB / 1.169 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.022, allocations: 5.562 kB / 1.169 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/1.022, allocations: 0.5469 kB / 1.169 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.022, allocations: 1 kB / 1.169 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/1.022, allocations: 32.36 kB / 1.169 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/1.022, allocations: 1.094 kB / 1.169 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/1.022, allocations: 18.41 kB / 1.169 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/1.022, allocations: 8.875 kB / 1.169 GB, free: 1.484 MB / 0.8731 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.000111/1.023, allocations: 129.5 kB / 1.169 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/1.023, allocations: 8.094 kB / 1.169 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/1.023, allocations: 14.92 kB / 1.169 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1.023, allocations: 1.531 kB / 1.169 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.023, allocations: 0 / 1.169 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.023, allocations: 3.938 kB / 1.169 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000824/1.024, allocations: 472.7 kB / 1.17 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.024, allocations: 1.031 kB / 1.17 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/1.024, allocations: 36.2 kB / 1.17 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.024, allocations: 1.188 kB / 1.17 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.024, allocations: 1.375 kB / 1.17 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.024, allocations: 0 / 1.17 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.024, allocations: 3.938 kB / 1.17 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/1.024, allocations: 260.4 kB / 1.17 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/1.024, allocations: 86.28 kB / 1.17 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/1.024, allocations: 1.125 kB / 1.17 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/1.025, allocations: 14.02 kB / 1.17 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/1.025, allocations: 12.89 kB / 1.17 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/1.025, allocations: 4.781 kB / 1.17 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.372e-05/1.025, allocations: 116.7 kB / 1.17 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.025, allocations: 1 kB / 1.17 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002782/1.025, allocations: 37.28 kB / 1.17 GB, free: 0.5859 MB / 0.8731 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.000176/1.025, allocations: 109.8 kB / 1.17 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004905/1.026, allocations: 132.3 kB / 1.17 GB, free: 480 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.026, allocations: 0 / 1.17 GB, free: 480 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/1.026, allocations: 67.89 kB / 1.17 GB, free: 464 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/1.026, allocations: 32.02 kB / 1.17 GB, free: 452 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/1.027, allocations: 300.1 kB / 1.171 GB, free: 216 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/1.027, allocations: 0.703 MB / 1.171 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/1.027, allocations: 17.72 kB / 1.171 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/1.027, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of Templates: time 0.003529/1.031, allocations: 1.733 MB / 1.173 GB, free: 15.36 MB / 0.8887 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/jenkins1/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