Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 86.09 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.00135/0.00135, 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.51/1.51, allocations: 223.2 MB / 240 MB, free: 5.418 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.626/2.626, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 8 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9142/0.9146, allocations: 142.4 MB / 0.9544 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06002/0.9747, allocations: 56.52 MB / 1.01 GB, free: 6.836 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0184/0.9931, allocations: 11.22 MB / 1.021 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/0.9964, allocations: 55.62 kB / 1.021 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.9985, allocations: 456.9 kB / 1.021 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006664/1.005, allocations: 1.531 MB / 1.023 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/1.009, allocations: 0.8672 MB / 1.023 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006137/1.015, allocations: 3.381 MB / 1.027 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/1.017, allocations: 0.7957 MB / 1.027 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/1.021, allocations: 1.034 MB / 1.028 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/1.022, allocations: 0.8049 MB / 1.029 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/1.023, allocations: 44 kB / 1.029 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/1.026, allocations: 1.095 MB / 1.03 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/1.026, allocations: 203 kB / 1.031 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/1.026, allocations: 281 kB / 1.031 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/1.029, allocations: 1.633 MB / 1.032 GB, free: 15.37 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.029, allocations: 3.938 kB / 1.032 GB, free: 15.37 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.735e-06/1.029, allocations: 0 / 1.032 GB, free: 15.37 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.1e-05/1.029, allocations: 0 / 1.032 GB, free: 15.37 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003042/1.032, allocations: 1.497 MB / 1.034 GB, free: 13.81 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.032, allocations: 12.03 kB / 1.034 GB, free: 13.8 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/1.034, allocations: 477.9 kB / 1.034 GB, free: 13.33 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/1.037, allocations: 1.078 MB / 1.035 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/1.037, allocations: 133.9 kB / 1.036 GB, free: 12.07 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.037, allocations: 80 kB / 1.036 GB, free: 11.99 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/1.039, allocations: 0.9973 MB / 1.037 GB, free: 10.95 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/1.039, allocations: 3.938 kB / 1.037 GB, free: 10.94 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/1.039, allocations: 32 kB / 1.037 GB, free: 10.91 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/1.039, allocations: 20 kB / 1.037 GB, free: 10.89 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/1.041, allocations: 0.9055 MB / 1.038 GB, free: 9.984 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006967/1.048, allocations: 4.882 MB / 1.042 GB, free: 4.742 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/1.051, allocations: 0.8864 MB / 1.043 GB, free: 3.848 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/1.052, allocations: 328.6 kB / 1.043 GB, free: 3.523 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/1.053, allocations: 0.9025 MB / 1.044 GB, free: 2.418 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/1.053, allocations: 34.56 kB / 1.044 GB, free: 2.375 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.225e-06/1.053, allocations: 0 / 1.044 GB, free: 2.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.006544/1.059, allocations: 1.954 MB / 1.046 GB, free: 400 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/1.059, allocations: 55.41 kB / 1.046 GB, free: 332 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/1.061, allocations: 1.047 MB / 1.047 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-05/1.061, allocations: 41.64 kB / 1.047 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000477/1.062, allocations: 0.5235 MB / 1.048 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/1.062, allocations: 149.8 kB / 1.048 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/1.062, allocations: 12 kB / 1.048 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.062, allocations: 322 kB / 1.048 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007932/1.063, allocations: 324.9 kB / 1.049 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009799/1.064, allocations: 0.518 MB / 1.049 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/1.064, allocations: 353.3 kB / 1.05 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.065, allocations: 4 kB / 1.05 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003324/1.068, allocations: 1.224 MB / 1.051 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/1.068, allocations: 214.6 kB / 1.051 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.068, allocations: 4 kB / 1.051 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/1.069, allocations: 340.6 kB / 1.051 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/1.07, allocations: 115.9 kB / 1.051 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/1.071, allocations: 0.9529 MB / 1.052 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.073, allocations: 191.3 kB / 1.053 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/1.073, allocations: 24 kB / 1.053 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/1.073, allocations: 4 kB / 1.053 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002911/1.076, allocations: 1.07 MB / 1.054 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.076, allocations: 4 kB / 1.054 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009725/1.077, allocations: 325.1 kB / 1.054 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/1.077, allocations: 123.9 kB / 1.054 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/1.078, allocations: 0.9347 MB / 1.055 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/1.08, allocations: 171.5 kB / 1.055 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/1.08, allocations: 35.88 kB / 1.055 GB, free: 7.109 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006495/1.08, allocations: 357.4 kB / 1.055 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/1.081, allocations: 110.6 kB / 1.056 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/1.083, allocations: 0.973 MB / 1.057 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/1.083, allocations: 11.92 kB / 1.057 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.083, allocations: 3.953 kB / 1.057 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/1.083, allocations: 4 kB / 1.057 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/1.088, allocations: 2.253 MB / 1.059 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/1.089, allocations: 4 kB / 1.059 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/1.089, allocations: 68.17 kB / 1.059 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/1.09, allocations: 320.6 kB / 1.059 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/1.09, allocations: 15.98 kB / 1.059 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/1.091, allocations: 0.9721 MB / 1.06 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.091, allocations: 4 kB / 1.06 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/1.095, allocations: 1.264 MB / 1.061 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008421/1.096, allocations: 279.4 kB / 1.062 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003456/1.096, allocations: 12 kB / 1.062 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.097, allocations: 115.9 kB / 1.062 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.097, allocations: 31.95 kB / 1.062 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/1.097, allocations: 27.98 kB / 1.062 GB, free: 112 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001749/1.099, allocations: 0.7274 MB / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/1.099, allocations: 0 / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002273/1.102, allocations: 0.5652 MB / 1.063 GB, free: 14.81 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/1.103, allocations: 369.3 kB / 1.063 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003387/1.106, allocations: 1.155 MB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.106, allocations: 0 / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009176/1.107, allocations: 372.4 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/1.11, allocations: 0.4967 MB / 1.065 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/1.117, allocations: 2.494 MB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/1.117, allocations: 1.058 MB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001185/1.119, allocations: 228.6 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/1.119, allocations: 79.36 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of SimCode: time 9.32e-07/1.119, allocations: 0 / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of Templates: time 0.04072/1.16, allocations: 22.91 MB / 1.091 GB, free: 1.859 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches