Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001133/0.001133, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001715/0.002848, allocations: 449.7 kB / 10.37 MB, free: 328 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.001026/0.001026, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001332/0.002358, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9421/0.9421, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08711/1.029, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.76/1.76, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4613/2.221, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 4.484 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.325e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01393/0.01396, allocations: 18.57 MB / 0.7475 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.008664/0.02262, allocations: 7.707 MB / 0.755 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008047/0.02343, allocations: 95.19 kB / 0.7551 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.02409, allocations: 457 kB / 0.7555 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.02629, allocations: 1.724 MB / 0.7572 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.02821, allocations: 1.659 MB / 0.7588 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.03077, allocations: 3.965 MB / 0.7627 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.03206, allocations: 1.203 MB / 0.7639 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.03383, allocations: 2.095 MB / 0.7659 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008317/0.03466, allocations: 0.9396 MB / 0.7668 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.03481, allocations: 168 kB / 0.767 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007585/0.03557, allocations: 0.6755 MB / 0.7677 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.03579, allocations: 326.8 kB / 0.768 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004247/0.03621, allocations: 0.5077 MB / 0.7685 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.03759, allocations: 1.518 MB / 0.7699 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.0376, allocations: 4.781 kB / 0.7699 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.0376, allocations: 0 / 0.7699 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.315e-05/0.03763, allocations: 1.062 kB / 0.7699 GB, free: 10.9 MB / 0.7448 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.002018/0.03964, allocations: 2.331 MB / 0.7722 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.03968, allocations: 11.97 kB / 0.7722 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008107/0.04049, allocations: 403.2 kB / 0.7726 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.04156, allocations: 0.9825 MB / 0.7736 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.04161, allocations: 79.03 kB / 0.7737 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/0.04169, allocations: 108 kB / 0.7738 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009236/0.04262, allocations: 0.982 MB / 0.7747 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.04263, allocations: 0.7812 kB / 0.7747 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/0.04269, allocations: 44 kB / 0.7748 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.04271, allocations: 24 kB / 0.7748 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.04315, allocations: 360.5 kB / 0.7751 GB, free: 5.379 MB / 0.7448 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.003236/0.04639, allocations: 4.258 MB / 0.7793 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.04709, allocations: 429.2 kB / 0.7797 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.04719, allocations: 93.03 kB / 0.7798 GB, free: 488 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.04731, allocations: 64.97 kB / 0.7798 GB, free: 424 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.04733, allocations: 39.78 kB / 0.7799 GB, free: 376 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.214e-06/0.04733, allocations: 0 / 0.7799 GB, free: 376 kB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.001129/0.04846, allocations: 0.5671 MB / 0.7804 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.04849, allocations: 59.91 kB / 0.7805 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.0492, allocations: 0.9548 MB / 0.7814 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.04923, allocations: 37.7 kB / 0.7815 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.04947, allocations: 0.5496 MB / 0.782 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.301e-05/0.04955, allocations: 179 kB / 0.7822 GB, free: 14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.04971, allocations: 171.8 kB / 0.7823 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.04978, allocations: 337.9 kB / 0.7827 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.04995, allocations: 92.78 kB / 0.7827 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.05032, allocations: 0.7246 MB / 0.7835 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.0507, allocations: 492.6 kB / 0.7839 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.0507, allocations: 4 kB / 0.7839 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005617/0.05127, allocations: 0.5003 MB / 0.7844 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.05128, allocations: 13.09 kB / 0.7844 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.05129, allocations: 8 kB / 0.7844 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/0.05167, allocations: 174.9 kB / 0.7846 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.05204, allocations: 199.7 kB / 0.7848 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002914/0.05233, allocations: 0.5835 MB / 0.7854 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.05274, allocations: 143.4 kB / 0.7855 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/0.05279, allocations: 31.98 kB / 0.7855 GB, free: 10.21 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0001788/0.05297, allocations: 164.4 kB / 0.7857 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/0.05306, allocations: 87.91 kB / 0.7858 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000718/0.05377, allocations: 0.6298 MB / 0.7864 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.05379, allocations: 11.98 kB / 0.7864 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.05379, allocations: 8 kB / 0.7864 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.05379, allocations: 3.984 kB / 0.7864 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.05527, allocations: 1.296 MB / 0.7877 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.05528, allocations: 3.938 kB / 0.7877 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.05545, allocations: 92.06 kB / 0.7878 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.05566, allocations: 166.9 kB / 0.7879 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.05598, allocations: 168.6 kB / 0.7881 GB, free: 7.508 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.05601, allocations: 23.98 kB / 0.7881 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003555/0.05636, allocations: 0.5991 MB / 0.7887 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.05636, allocations: 0 / 0.7887 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007589/0.05712, allocations: 0.6568 MB / 0.7893 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.0572, allocations: 15.98 kB / 0.7893 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.05746, allocations: 43.97 kB / 0.7894 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.05751, allocations: 44.36 kB / 0.7894 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.05754, allocations: 19.98 kB / 0.7895 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003924/0.05793, allocations: 490.8 kB / 0.7899 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.1e-08/0.05793, allocations: 0 / 0.7899 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005567/0.05849, allocations: 395 kB / 0.7903 GB, free: 5.168 MB / 0.7605 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.0002706/0.05876, allocations: 206 kB / 0.7905 GB, free: 4.957 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.05921, allocations: 372.8 kB / 0.7908 GB, free: 4.594 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.312e-05/0.05924, allocations: 20.5 kB / 0.7909 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.05955, allocations: 214.5 kB / 0.7911 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.06058, allocations: 0.5786 MB / 0.7916 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.06667, allocations: 2.082 MB / 0.7937 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.06682, allocations: 233.3 kB / 0.7939 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000436/0.06725, allocations: 201.3 kB / 0.7941 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/0.06789, allocations: 427 kB / 0.7945 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of SimCode: time 1.012e-06/0.06789, allocations: 0 / 0.7945 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of Templates: time 0.02555/0.09344, allocations: 24.56 MB / 0.8185 GB, free: 8.73 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw/Buildings_12_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.2270323215052485]