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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009074/0.0009074, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.002008, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007406/0.0007406, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009288/0.001669, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9115/0.9115, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08672/0.9982, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.29/2.29, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2569/2.547, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.55e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01609/0.01612, allocations: 18.72 MB / 0.8366 GB, free: 96 kB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.02889, allocations: 9.57 MB / 0.8459 GB, free: 6.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.03088, allocations: 99.19 kB / 0.846 GB, free: 6.402 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009079/0.03179, allocations: 456.3 kB / 0.8465 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.03515, allocations: 1.756 MB / 0.8482 GB, free: 4.188 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.03883, allocations: 2.281 MB / 0.8504 GB, free: 1.902 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004092/0.04292, allocations: 4.049 MB / 0.8544 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.04485, allocations: 1.178 MB / 0.8555 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/0.04849, allocations: 2.153 MB / 0.8576 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.04969, allocations: 0.9502 MB / 0.8585 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.04987, allocations: 180 kB / 0.8587 GB, free: 9.328 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.05102, allocations: 0.6785 MB / 0.8594 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.05125, allocations: 330.7 kB / 0.8597 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.05179, allocations: 0.5264 MB / 0.8602 GB, free: 7.797 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.0536, allocations: 1.569 MB / 0.8617 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.05362, allocations: 0 / 0.8617 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.764e-06/0.05362, allocations: 3.938 kB / 0.8617 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.418e-05/0.05364, allocations: 0 / 0.8617 GB, free: 6.219 MB / 0.8386 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.00229/0.05593, allocations: 2.413 MB / 0.8641 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.05597, allocations: 8.625 kB / 0.8641 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.05682, allocations: 403.5 kB / 0.8645 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.05811, allocations: 1.02 MB / 0.8655 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.05816, allocations: 86.03 kB / 0.8656 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/0.05825, allocations: 112 kB / 0.8657 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.0593, allocations: 0.9864 MB / 0.8666 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.05932, allocations: 3.938 kB / 0.8666 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-05/0.05938, allocations: 44 kB / 0.8667 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.0594, allocations: 35.94 kB / 0.8667 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.05985, allocations: 352.3 kB / 0.8671 GB, free: 0.5234 MB / 0.8386 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.00402/0.06387, allocations: 4.298 MB / 0.8713 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.06463, allocations: 420.3 kB / 0.8717 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.06474, allocations: 93.14 kB / 0.8717 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.06489, allocations: 60.45 kB / 0.8718 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.06492, allocations: 39.06 kB / 0.8718 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 2.224e-06/0.06492, allocations: 0 / 0.8718 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001225/0.06614, allocations: 0.5765 MB / 0.8724 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.06617, allocations: 55.91 kB / 0.8725 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.06705, allocations: 1.027 MB / 0.8735 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.06709, allocations: 45.7 kB / 0.8735 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.06736, allocations: 0.5613 MB / 0.874 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.06745, allocations: 178.4 kB / 0.8742 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.06763, allocations: 202.5 kB / 0.8744 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.06772, allocations: 337.9 kB / 0.8747 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.0679, allocations: 112.8 kB / 0.8748 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.06834, allocations: 0.8386 MB / 0.8757 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.06889, allocations: 0.621 MB / 0.8763 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.0689, allocations: 4 kB / 0.8763 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.000699/0.0696, allocations: 0.6064 MB / 0.8769 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.06962, allocations: 15.98 kB / 0.8769 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.06963, allocations: 12 kB / 0.8769 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/0.07008, allocations: 176.8 kB / 0.8771 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.0705, allocations: 235.7 kB / 0.8773 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003284/0.07083, allocations: 0.6028 MB / 0.8779 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.07138, allocations: 155.2 kB / 0.878 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.07144, allocations: 48.02 kB / 0.8781 GB, free: 4.527 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (101): * Single equations (assignments): 100 * 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.0002643/0.07171, allocations: 176.3 kB / 0.8782 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.0718, allocations: 83.91 kB / 0.8783 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/0.07255, allocations: 0.6383 MB / 0.8789 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.07256, allocations: 19.98 kB / 0.879 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.07257, allocations: 0 / 0.879 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.07257, allocations: 0 / 0.879 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.07428, allocations: 1.316 MB / 0.8802 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.07429, allocations: 11.92 kB / 0.8803 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.07447, allocations: 87.89 kB / 0.8803 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.07472, allocations: 174.8 kB / 0.8805 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003716/0.07509, allocations: 164.8 kB / 0.8807 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.07511, allocations: 19.98 kB / 0.8807 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004066/0.07552, allocations: 0.6069 MB / 0.8813 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.07552, allocations: 3.938 kB / 0.8813 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008418/0.07637, allocations: 0.6573 MB / 0.8819 GB, free: 428 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.07648, allocations: 15.95 kB / 0.8819 GB, free: 412 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.07677, allocations: 47.91 kB / 0.882 GB, free: 364 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.07683, allocations: 40.42 kB / 0.882 GB, free: 324 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.07687, allocations: 19.98 kB / 0.882 GB, free: 304 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004697/0.07734, allocations: 0.502 MB / 0.8825 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/0.07734, allocations: 0 / 0.8825 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001038/0.07837, allocations: 411 kB / 0.8829 GB, free: 15.38 MB / 0.8698 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.0003458/0.07872, allocations: 202 kB / 0.8831 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.07934, allocations: 425.9 kB / 0.8835 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.947e-05/0.07937, allocations: 16.5 kB / 0.8835 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.07969, allocations: 215 kB / 0.8837 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.08076, allocations: 0.583 MB / 0.8843 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006509/0.08726, allocations: 2.162 MB / 0.8864 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.08743, allocations: 237.5 kB / 0.8866 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006378/0.08806, allocations: 209.9 kB / 0.8868 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006914/0.08876, allocations: 442.9 kB / 0.8873 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of SimCode: time 1.703e-06/0.08876, allocations: 0 / 0.8873 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.0308/0.1196, allocations: 25.21 MB / 0.9119 GB, free: 2.191 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.585294465534389]