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.001393/0.001393, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001712/0.001712, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.3 MB / 240 MB, free: 5.414 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.477/2.477, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003359, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7401, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001596/0.7418, allocations: 1.332 MB / 0.9557 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1561/0.8979, allocations: 137.7 MB / 1.09 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.8981, allocations: 0 / 1.09 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.8982, allocations: 15.92 kB / 1.09 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.8984, allocations: 35.77 kB / 1.09 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.8988, allocations: 119.5 kB / 1.09 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.899, allocations: 107.6 kB / 1.09 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.8991, allocations: 21.41 kB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.8995, allocations: 127.6 kB / 1.091 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.8996, allocations: 35.78 kB / 1.091 GB, free: 3.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.8996, allocations: 4 kB / 1.091 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.9, allocations: 171.7 kB / 1.091 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.9001, allocations: 19.91 kB / 1.091 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.9001, allocations: 41.64 kB / 1.091 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.9003, allocations: 129.7 kB / 1.091 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.964e-06/0.9004, allocations: 8 kB / 1.091 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9004, allocations: 0 / 1.091 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5e-06/0.9004, allocations: 0 / 1.091 GB, free: 3.309 MB / 0.8419 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.0006742/0.9011, allocations: 434.8 kB / 1.091 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.9011, allocations: 12.03 kB / 1.091 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.902, allocations: 83.72 kB / 1.091 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.9022, allocations: 204.4 kB / 1.092 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.9022, allocations: 7.953 kB / 1.092 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.9023, allocations: 12 kB / 1.092 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.9027, allocations: 145.5 kB / 1.092 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9027, allocations: 0 / 1.092 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.9027, allocations: 8 kB / 1.092 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.9027, allocations: 4 kB / 1.092 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.9032, allocations: 151.9 kB / 1.092 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.904, allocations: 412.5 kB / 1.092 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.9047, allocations: 267.7 kB / 1.093 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.9049, allocations: 88.78 kB / 1.093 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.905, allocations: 0 / 1.093 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.905, allocations: 38.5 kB / 1.093 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.905, allocations: 0 / 1.093 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0007462/0.9057, allocations: 249.3 kB / 1.093 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.9058, allocations: 55.41 kB / 1.093 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.9059, allocations: 148.5 kB / 1.093 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.9059, allocations: 25.7 kB / 1.093 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.906, allocations: 100.3 kB / 1.093 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.906, allocations: 39.61 kB / 1.093 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.9061, allocations: 0 / 1.093 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9062, allocations: 322.8 kB / 1.094 GB, free: 340 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.9064, allocations: 63.95 kB / 1.094 GB, free: 276 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.9066, allocations: 94.81 kB / 1.094 GB, free: 172 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.9068, allocations: 67.94 kB / 1.094 GB, free: 104 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.9068, allocations: 0 / 1.094 GB, free: 104 kB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004794/0.9073, allocations: 177.5 kB / 1.094 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.9074, allocations: 8 kB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.9074, allocations: 0 / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.9074, allocations: 3.938 kB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.9076, allocations: 39.86 kB / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.9076, allocations: 0 / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.9078, allocations: 27.97 kB / 1.094 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.9078, allocations: 0 / 1.094 GB, free: 15.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.9079, allocations: 121.8 kB / 1.094 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.9079, allocations: 15.8 kB / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.908, allocations: 8.719 kB / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.908, allocations: 8 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.908, allocations: 3.953 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.908, allocations: 0 / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/0.9088, allocations: 486.3 kB / 1.095 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9088, allocations: 0 / 1.095 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.909, allocations: 39.97 kB / 1.095 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.909, allocations: 0 / 1.095 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.9091, allocations: 7.938 kB / 1.095 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.9091, allocations: 0 / 1.095 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9091, allocations: 0 / 1.095 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.9096, allocations: 287.2 kB / 1.095 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.9096, allocations: 92.92 kB / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.9097, allocations: 0 / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.9099, allocations: 27.94 kB / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.9099, allocations: 3.984 kB / 1.095 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.9099, allocations: 4 kB / 1.095 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.097e-05/0.91, allocations: 117.5 kB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.91, allocations: 0 / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002663/0.9103, allocations: 32 kB / 1.095 GB, free: 14.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.9104, allocations: 115 kB / 1.095 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.9109, allocations: 147.9 kB / 1.096 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.911, allocations: 0 / 1.096 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.9112, allocations: 79.89 kB / 1.096 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.9116, allocations: 27.91 kB / 1.096 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.9121, allocations: 257.1 kB / 1.096 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.9124, allocations: 0.7043 MB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.9125, allocations: 28.39 kB / 1.097 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.9126, allocations: 11.44 kB / 1.097 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.9126, allocations: 4 kB / 1.097 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.004286/0.9169, allocations: 1.693 MB / 1.098 GB, free: 11.42 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/jenkins/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