Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 108 kB / 15.61 MB, free: 152 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.001467/0.001467, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.88/0.8813, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0751/0.9565, allocations: 70.5 MB / 1.018 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02845/0.985, allocations: 18.92 MB / 1.037 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004482/0.9895, allocations: 67.62 kB / 1.037 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.993, allocations: 0.8228 MB / 1.038 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/1.004, allocations: 2.85 MB / 1.041 GB, free: 4.441 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005276/1.009, allocations: 1.649 MB / 1.042 GB, free: 2.805 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007683/1.017, allocations: 4.023 MB / 1.046 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/1.019, allocations: 1.461 MB / 1.048 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005171/1.024, allocations: 1.76 MB / 1.049 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/1.027, allocations: 1.179 MB / 1.05 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003325/1.027, allocations: 176 kB / 1.051 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/1.031, allocations: 1.412 MB / 1.052 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004493/1.032, allocations: 398.6 kB / 1.052 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/1.033, allocations: 0.9138 MB / 1.053 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004989/1.038, allocations: 3.07 MB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.038, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/1.038, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.414e-05/1.038, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003688/1.042, allocations: 2.03 MB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.042, allocations: 16.02 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/1.044, allocations: 445.8 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/1.046, allocations: 1.473 MB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003874/1.047, allocations: 138 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.047, allocations: 100 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/1.05, allocations: 1.325 MB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/1.05, allocations: 0 / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.05, allocations: 44 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/1.05, allocations: 27.94 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/1.052, allocations: 1.116 MB / 1.063 GB, free: 13.42 MB / 0.8262 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.009506/1.062, allocations: 7.556 MB / 1.07 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/1.065, allocations: 0.7979 MB / 1.071 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/1.066, allocations: 281.9 kB / 1.071 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.067, allocations: 1.73 MB / 1.073 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.067, allocations: 39 kB / 1.073 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 5.3e-06/1.067, allocations: 0 / 1.073 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.005165/1.072, allocations: 1.338 MB / 1.074 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/1.072, allocations: 55.84 kB / 1.074 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/1.075, allocations: 1.553 MB / 1.076 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/1.075, allocations: 41.69 kB / 1.076 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/1.076, allocations: 0.6767 MB / 1.076 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/1.076, allocations: 169.6 kB / 1.077 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/1.076, allocations: 170.5 kB / 1.077 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.077, allocations: 333.9 kB / 1.077 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/1.078, allocations: 377.8 kB / 1.077 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/1.079, allocations: 0.6585 MB / 1.078 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/1.081, allocations: 0.8907 MB / 1.079 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.081, allocations: 3.938 kB / 1.079 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003119/1.084, allocations: 1.193 MB / 1.08 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/1.084, allocations: 12 kB / 1.08 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.084, allocations: 8.031 kB / 1.08 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009278/1.085, allocations: 224.6 kB / 1.08 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/1.086, allocations: 199.7 kB / 1.081 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/1.087, allocations: 0.724 MB / 1.081 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/1.088, allocations: 219.6 kB / 1.081 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/1.089, allocations: 43.98 kB / 1.082 GB, free: 8.891 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000748/1.089, allocations: 353.6 kB / 1.082 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/1.09, allocations: 158.1 kB / 1.082 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/1.092, allocations: 1.137 MB / 1.083 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/1.092, allocations: 12 kB / 1.083 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.092, allocations: 0 / 1.083 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.092, allocations: 4.078 kB / 1.083 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/1.097, allocations: 2.514 MB / 1.086 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.097, allocations: 0 / 1.086 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/1.098, allocations: 87.88 kB / 1.086 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007784/1.099, allocations: 212.8 kB / 1.086 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/1.099, allocations: 19.98 kB / 1.086 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/1.1, allocations: 0.7708 MB / 1.087 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.1, allocations: 7.922 kB / 1.087 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/1.104, allocations: 1.207 MB / 1.088 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/1.104, allocations: 343 kB / 1.088 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/1.104, allocations: 19.91 kB / 1.088 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/1.105, allocations: 71.91 kB / 1.088 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/1.105, allocations: 40.52 kB / 1.088 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/1.106, allocations: 23.98 kB / 1.088 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001831/1.107, allocations: 1.098 MB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/1.107, allocations: 0 / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001484/1.109, allocations: 451.3 kB / 1.09 GB, free: 204 kB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/1.11, allocations: 481 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002524/1.112, allocations: 0.8837 MB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.112, allocations: 0 / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/1.114, allocations: 443.5 kB / 1.092 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/1.118, allocations: 0.7444 MB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/1.122, allocations: 2.288 MB / 1.095 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/1.123, allocations: 1.172 MB / 1.096 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001192/1.124, allocations: 268.1 kB / 1.096 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/1.124, allocations: 115.4 kB / 1.096 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of SimCode: time 8.71e-07/1.124, allocations: 0 / 1.096 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.05737/1.181, allocations: 31.54 MB / 1.127 GB, free: 10.59 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches