Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009498/0.009497, allocations: 101.9 kB / 15.73 MB, free: 6 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.002142/0.002142, allocations: 196 kB / 16.67 MB, free: 5.926 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07557/1.188, allocations: 70.49 MB / 1.277 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02604/1.214, allocations: 18.93 MB / 1.295 GB, free: 3.895 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003077/1.218, allocations: 71.5 kB / 1.295 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/1.22, allocations: 0.8229 MB / 1.296 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007993/1.228, allocations: 2.85 MB / 1.299 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004477/1.232, allocations: 1.65 MB / 1.3 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005465/1.238, allocations: 4.058 MB / 1.304 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/1.24, allocations: 1.445 MB / 1.306 GB, free: 8.941 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/1.244, allocations: 1.81 MB / 1.307 GB, free: 7.129 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/1.245, allocations: 1.175 MB / 1.309 GB, free: 5.949 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002224/1.246, allocations: 176 kB / 1.309 GB, free: 5.777 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/1.249, allocations: 1.412 MB / 1.31 GB, free: 4.363 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003628/1.249, allocations: 394.6 kB / 1.311 GB, free: 3.977 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009586/1.25, allocations: 0.9216 MB / 1.311 GB, free: 3.051 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004172/1.254, allocations: 3.095 MB / 1.314 GB, free: 15.95 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.254, allocations: 4 kB / 1.314 GB, free: 15.94 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.964e-06/1.254, allocations: 0 / 1.314 GB, free: 15.94 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.201e-05/1.254, allocations: 4 kB / 1.314 GB, free: 15.94 MB / 1.045 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.003806/1.258, allocations: 2.023 MB / 1.316 GB, free: 13.86 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/1.258, allocations: 12.03 kB / 1.316 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/1.261, allocations: 446.4 kB / 1.317 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/1.263, allocations: 1.555 MB / 1.318 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/1.263, allocations: 81.97 kB / 1.318 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.264, allocations: 104 kB / 1.319 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/1.266, allocations: 1.317 MB / 1.32 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/1.266, allocations: 3.938 kB / 1.32 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/1.266, allocations: 44 kB / 1.32 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/1.266, allocations: 24 kB / 1.32 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/1.269, allocations: 1.101 MB / 1.321 GB, free: 9.016 MB / 1.045 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.008607/1.278, allocations: 7.497 MB / 1.328 GB, free: 1.004 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/1.281, allocations: 0.8057 MB / 1.329 GB, free: 196 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/1.281, allocations: 278.1 kB / 1.329 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/1.283, allocations: 1.726 MB / 1.331 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.283, allocations: 39 kB / 1.331 GB, free: 13.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 2.385e-06/1.283, allocations: 0 / 1.331 GB, free: 13.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.004704/1.287, allocations: 1.334 MB / 1.332 GB, free: 12.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/1.287, allocations: 59.84 kB / 1.332 GB, free: 12.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/1.29, allocations: 1.538 MB / 1.334 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/1.29, allocations: 41.7 kB / 1.334 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006425/1.29, allocations: 0.6768 MB / 1.335 GB, free: 10.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/1.29, allocations: 173.6 kB / 1.335 GB, free: 9.875 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/1.291, allocations: 178.3 kB / 1.335 GB, free: 9.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.291, allocations: 330 kB / 1.335 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009815/1.292, allocations: 365.8 kB / 1.336 GB, free: 9.008 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/1.293, allocations: 0.6585 MB / 1.336 GB, free: 8.223 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/1.295, allocations: 0.8906 MB / 1.337 GB, free: 7.223 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/1.295, allocations: 7.938 kB / 1.337 GB, free: 7.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002767/1.298, allocations: 1.189 MB / 1.338 GB, free: 6.012 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.298, allocations: 8 kB / 1.338 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.298, allocations: 8 kB / 1.338 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008719/1.299, allocations: 224.7 kB / 1.339 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/1.299, allocations: 195.7 kB / 1.339 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008381/1.3, allocations: 0.7201 MB / 1.339 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.302, allocations: 218.6 kB / 1.34 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/1.302, allocations: 39.98 kB / 1.34 GB, free: 4.582 MB / 1.061 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.0005013/1.302, allocations: 357.6 kB / 1.34 GB, free: 4.223 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/1.302, allocations: 142.2 kB / 1.34 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/1.305, allocations: 1.144 MB / 1.341 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.305, allocations: 11.98 kB / 1.341 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.305, allocations: 4 kB / 1.341 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.305, allocations: 3.984 kB / 1.341 GB, free: 2.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004998/1.31, allocations: 2.506 MB / 1.344 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.31, allocations: 4 kB / 1.344 GB, free: 320 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/1.31, allocations: 84.08 kB / 1.344 GB, free: 236 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007231/1.311, allocations: 216.5 kB / 1.344 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/1.311, allocations: 16.06 kB / 1.344 GB, free: 16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/1.312, allocations: 0.7825 MB / 1.345 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.312, allocations: 0 / 1.345 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/1.316, allocations: 1.199 MB / 1.346 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/1.316, allocations: 354.9 kB / 1.346 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/1.316, allocations: 12 kB / 1.346 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/1.317, allocations: 71.91 kB / 1.346 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/1.317, allocations: 44.44 kB / 1.346 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/1.317, allocations: 27.92 kB / 1.346 GB, free: 13.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001666/1.319, allocations: 1.086 MB / 1.348 GB, free: 12.34 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.2e-07/1.319, allocations: 0 / 1.348 GB, free: 12.34 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001368/1.32, allocations: 447.4 kB / 1.348 GB, free: 11.91 MB / 1.076 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.0009605/1.321, allocations: 472.4 kB / 1.348 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002146/1.324, allocations: 0.852 MB / 1.349 GB, free: 10.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.324, allocations: 0 / 1.349 GB, free: 10.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.325, allocations: 452 kB / 1.35 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/1.328, allocations: 0.7437 MB / 1.35 GB, free: 9.422 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/1.333, allocations: 2.245 MB / 1.353 GB, free: 7.125 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/1.334, allocations: 1.172 MB / 1.354 GB, free: 5.926 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001093/1.335, allocations: 267.2 kB / 1.354 GB, free: 5.664 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/1.335, allocations: 115.4 kB / 1.354 GB, free: 5.551 MB / 1.076 GB Notification: Performance of SimCode: time 1.142e-06/1.335, allocations: 0 / 1.354 GB, free: 5.551 MB / 1.076 GB Notification: Performance of Templates: time 0.05812/1.393, allocations: 32.28 MB / 1.386 GB, free: 5.621 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches