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.001025/0.001025, allocations: 117.2 kB / 16.37 MB, free: 6.012 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.0009558/0.0009558, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.992/1.992, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 65.84 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2135, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002433/0.2159, allocations: 1.645 MB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.5585/0.7744, allocations: 151.5 MB / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.479e-05/0.7746, allocations: 1.219 kB / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.7748, allocations: 17.98 kB / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.775, allocations: 44.58 kB / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.7754, allocations: 144.5 kB / 1.101 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.7756, allocations: 127.6 kB / 1.101 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.7757, allocations: 30.75 kB / 1.101 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009865/0.7767, allocations: 168 kB / 1.101 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.7768, allocations: 50.42 kB / 1.101 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.7769, allocations: 9.625 kB / 1.101 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.7772, allocations: 178.5 kB / 1.101 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.7773, allocations: 19.78 kB / 1.101 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.7773, allocations: 43.34 kB / 1.102 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.7777, allocations: 191.8 kB / 1.102 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7777, allocations: 3.156 kB / 1.102 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7777, allocations: 0 / 1.102 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.7777, allocations: 0 / 1.102 GB, free: 5.934 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.0007033/0.7784, allocations: 449 kB / 1.102 GB, free: 21.53 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.7785, allocations: 9.844 kB / 1.102 GB, free: 21.53 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.7794, allocations: 85.17 kB / 1.102 GB, free: 21.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.7796, allocations: 209.8 kB / 1.102 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.7796, allocations: 11.5 kB / 1.102 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.7796, allocations: 5.562 kB / 1.102 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.78, allocations: 134 kB / 1.103 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.7801, allocations: 0 / 1.103 GB, free: 21.28 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.7801, allocations: 5.359 kB / 1.103 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.7801, allocations: 6.094 kB / 1.103 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.7806, allocations: 136.9 kB / 1.103 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.7813, allocations: 409.2 kB / 1.103 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.782, allocations: 248.9 kB / 1.103 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.7822, allocations: 83.27 kB / 1.103 GB, free: 20.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.7822, allocations: 5.266 kB / 1.103 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.7823, allocations: 31.84 kB / 1.103 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.7823, allocations: 0.8438 kB / 1.103 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0007188/0.783, allocations: 216 kB / 1.104 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.783, allocations: 52.95 kB / 1.104 GB, free: 20.71 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.7831, allocations: 151.6 kB / 1.104 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.7832, allocations: 26.48 kB / 1.104 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.7832, allocations: 105.4 kB / 1.104 GB, free: 20.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.7833, allocations: 31.59 kB / 1.104 GB, free: 20.47 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.7833, allocations: 23.62 kB / 1.104 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.7834, allocations: 326.6 kB / 1.104 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.7836, allocations: 49.48 kB / 1.104 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.7838, allocations: 80.91 kB / 1.104 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.7842, allocations: 116.3 kB / 1.105 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7842, allocations: 3 kB / 1.105 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004341/0.7846, allocations: 167.1 kB / 1.105 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7847, allocations: 5.5 kB / 1.105 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7847, allocations: 1.266 kB / 1.105 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7847, allocations: 0.6875 kB / 1.105 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.7849, allocations: 33.14 kB / 1.105 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.7849, allocations: 0.9062 kB / 1.105 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.785, allocations: 23.2 kB / 1.105 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.7851, allocations: 2.953 kB / 1.105 GB, free: 20.05 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 8.364e-05/0.7852, allocations: 125 kB / 1.105 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.7852, allocations: 9.062 kB / 1.105 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.7852, allocations: 20.73 kB / 1.105 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7853, allocations: 1.844 kB / 1.105 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.7853, allocations: 2.75 kB / 1.105 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.7853, allocations: 0.6562 kB / 1.105 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000731/0.786, allocations: 467.5 kB / 1.105 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.786, allocations: 3.438 kB / 1.105 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.7862, allocations: 26.16 kB / 1.105 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7862, allocations: 1.812 kB / 1.105 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.7862, allocations: 2.141 kB / 1.105 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.7862, allocations: 0.8125 kB / 1.105 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7862, allocations: 5.031 kB / 1.105 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.7867, allocations: 260.3 kB / 1.106 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.7867, allocations: 84.14 kB / 1.106 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.7868, allocations: 2.031 kB / 1.106 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.7869, allocations: 21.61 kB / 1.106 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.787, allocations: 8.891 kB / 1.106 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.787, allocations: 8.469 kB / 1.106 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.772e-05/0.7871, allocations: 117.1 kB / 1.106 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7871, allocations: 1.25 kB / 1.106 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002553/0.7873, allocations: 23.14 kB / 1.106 GB, free: 19.29 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.0001505/0.7875, allocations: 117.6 kB / 1.106 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004461/0.788, allocations: 134.8 kB / 1.106 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.788, allocations: 0 / 1.106 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.7882, allocations: 70.45 kB / 1.106 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.7885, allocations: 29.95 kB / 1.106 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.7891, allocations: 223.2 kB / 1.106 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.7893, allocations: 0.7034 MB / 1.107 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.7894, allocations: 27.09 kB / 1.107 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.7895, allocations: 22.5 kB / 1.107 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of SimCode: time 3.5e-07/0.7895, allocations: 1.203 kB / 1.107 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.004706/0.7942, allocations: 1.939 MB / 1.109 GB, free: 18.21 MB / 0.8731 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 -s cvode -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