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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009319/0.0009319, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 183.9 kB / 16.92 MB, free: 6.684 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.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437.8 MB / 0.7128 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 12 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6325/0.6329, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001969/0.6349, allocations: 1.359 MB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1589/0.7938, allocations: 147.7 MB / 1.169 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.794, allocations: 4 kB / 1.169 GB, free: 10.28 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.7941, allocations: 7.922 kB / 1.169 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.7944, allocations: 35.78 kB / 1.169 GB, free: 10.24 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.7948, allocations: 123.5 kB / 1.169 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.7951, allocations: 123.5 kB / 1.169 GB, free: 9.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.7952, allocations: 19.38 kB / 1.17 GB, free: 9.977 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.7972, allocations: 158.2 kB / 1.17 GB, free: 9.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.7973, allocations: 43.78 kB / 1.17 GB, free: 9.797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.7973, allocations: 4 kB / 1.17 GB, free: 9.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.7977, allocations: 175.6 kB / 1.17 GB, free: 9.621 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.7977, allocations: 19.92 kB / 1.17 GB, free: 9.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.7978, allocations: 65.44 kB / 1.17 GB, free: 9.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.7981, allocations: 135.7 kB / 1.17 GB, free: 9.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7981, allocations: 0 / 1.17 GB, free: 9.398 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7981, allocations: 0 / 1.17 GB, free: 9.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.7981, allocations: 4 kB / 1.17 GB, free: 9.395 MB / 0.92 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.0006179/0.7987, allocations: 435 kB / 1.17 GB, free: 8.922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7988, allocations: 12.03 kB / 1.171 GB, free: 8.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009526/0.7997, allocations: 83.84 kB / 1.171 GB, free: 8.828 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.8, allocations: 202.9 kB / 1.171 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.8, allocations: 4 kB / 1.171 GB, free: 8.586 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.8, allocations: 8 kB / 1.171 GB, free: 8.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.8005, allocations: 147.6 kB / 1.171 GB, free: 8.43 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.8005, allocations: 0 / 1.171 GB, free: 8.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.8005, allocations: 8 kB / 1.171 GB, free: 8.422 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.8005, allocations: 3.938 kB / 1.171 GB, free: 8.418 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.8011, allocations: 159.9 kB / 1.171 GB, free: 8.262 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.8019, allocations: 420.1 kB / 1.171 GB, free: 7.801 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.8027, allocations: 263.7 kB / 1.172 GB, free: 7.516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.803, allocations: 88.8 kB / 1.172 GB, free: 7.426 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.803, allocations: 4 kB / 1.172 GB, free: 7.422 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.8031, allocations: 30.56 kB / 1.172 GB, free: 7.383 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 2.915e-06/0.8031, allocations: 0 / 1.172 GB, free: 7.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0008561/0.8039, allocations: 249.4 kB / 1.172 GB, free: 7.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.804, allocations: 55.41 kB / 1.172 GB, free: 7.066 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.8041, allocations: 149.5 kB / 1.172 GB, free: 6.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.8041, allocations: 25.7 kB / 1.172 GB, free: 6.879 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.8042, allocations: 104 kB / 1.172 GB, free: 6.773 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.8043, allocations: 27.8 kB / 1.172 GB, free: 6.746 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.8043, allocations: 21.7 kB / 1.172 GB, free: 6.719 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8044, allocations: 322.7 kB / 1.173 GB, free: 6.395 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.8047, allocations: 63.94 kB / 1.173 GB, free: 6.332 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.8049, allocations: 90.52 kB / 1.173 GB, free: 6.234 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.8054, allocations: 144.7 kB / 1.173 GB, free: 6.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8054, allocations: 4 kB / 1.173 GB, free: 6.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005412/0.806, allocations: 181.4 kB / 1.173 GB, free: 5.902 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.806, allocations: 4 kB / 1.173 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.806, allocations: 4 kB / 1.173 GB, free: 5.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.806, allocations: 0 / 1.173 GB, free: 5.895 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.8062, allocations: 35.97 kB / 1.173 GB, free: 5.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8063, allocations: 4 kB / 1.173 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.8064, allocations: 27.97 kB / 1.173 GB, free: 5.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.8065, allocations: 0 / 1.173 GB, free: 5.828 MB / 0.92 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 9.713e-05/0.8066, allocations: 126.2 kB / 1.173 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.8066, allocations: 11.91 kB / 1.173 GB, free: 5.684 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/0.8067, allocations: 20.7 kB / 1.173 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.8067, allocations: 4 kB / 1.173 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8067, allocations: 0 / 1.173 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.8067, allocations: 0 / 1.173 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/0.8076, allocations: 482.3 kB / 1.174 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.8076, allocations: 7.922 kB / 1.174 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.8078, allocations: 43.91 kB / 1.174 GB, free: 5.082 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.8078, allocations: 0 / 1.174 GB, free: 5.082 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.8078, allocations: 0 / 1.174 GB, free: 5.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.8078, allocations: 7.922 kB / 1.174 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8078, allocations: 0 / 1.174 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.8084, allocations: 271.4 kB / 1.174 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.8085, allocations: 96.91 kB / 1.174 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.8085, allocations: 0 / 1.174 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.8087, allocations: 23.92 kB / 1.174 GB, free: 4.656 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.8088, allocations: 7.984 kB / 1.174 GB, free: 4.648 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.8088, allocations: 4 kB / 1.174 GB, free: 4.645 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.675e-05/0.8089, allocations: 115.2 kB / 1.174 GB, free: 4.531 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8089, allocations: 0 / 1.174 GB, free: 4.531 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002896/0.8092, allocations: 35.94 kB / 1.175 GB, free: 4.496 MB / 0.92 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.0001657/0.8093, allocations: 115.2 kB / 1.175 GB, free: 4.375 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.8099, allocations: 140.6 kB / 1.175 GB, free: 4.238 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8099, allocations: 0 / 1.175 GB, free: 4.238 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.8102, allocations: 79.88 kB / 1.175 GB, free: 4.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.8105, allocations: 41.8 kB / 1.175 GB, free: 4.121 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.8112, allocations: 291.4 kB / 1.175 GB, free: 3.809 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.8115, allocations: 0.7004 MB / 1.176 GB, free: 3.082 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.8116, allocations: 15.42 kB / 1.176 GB, free: 3.066 MB / 0.92 GB Notification: Performance of SimCode: time 2.044e-06/0.8116, allocations: 0 / 1.176 GB, free: 3.066 MB / 0.92 GB Notification: Performance of Templates: time 0.003743/0.8154, allocations: 1.713 MB / 1.178 GB, free: 1.363 MB / 0.92 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/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