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.00188/0.00188, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002709/0.002709, allocations: 165.6 kB / 23.54 MB, free: 0.8945 MB / 18.57 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 1.568/1.568, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.939/2.939, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.094e-06/2.094e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.873e-05/4.083e-05, allocations: 3.562 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.12/0.12, allocations: 64.66 MB / 0.8739 GB, free: 1.289 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.03509/0.1551, allocations: 17.55 MB / 0.8911 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003313/0.1584, allocations: 95.19 kB / 0.8912 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.1612, allocations: 0.8304 MB / 0.892 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.1716, allocations: 3.097 MB / 0.895 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005032/0.1767, allocations: 1.766 MB / 0.8967 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007512/0.1842, allocations: 4.076 MB / 0.9007 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.187, allocations: 1.177 MB / 0.9019 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007971/0.195, allocations: 2.569 MB / 0.9044 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.198, allocations: 1.013 MB / 0.9054 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006675/0.1987, allocations: 172 kB / 0.9055 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.2025, allocations: 1.165 MB / 0.9067 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008112/0.2033, allocations: 414.3 kB / 0.9071 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.2051, allocations: 0.608 MB / 0.9077 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.006321/0.2114, allocations: 3.151 MB / 0.9107 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2114, allocations: 0 / 0.9107 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2114, allocations: 0 / 0.9107 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.666e-05/0.2115, allocations: 0 / 0.9107 GB, free: 11.48 MB / 0.8698 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.004348/0.2158, allocations: 2.004 MB / 0.9127 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2159, allocations: 8.031 kB / 0.9127 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.2185, allocations: 0.5345 MB / 0.9132 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.2219, allocations: 1.66 MB / 0.9148 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.222, allocations: 78.03 kB / 0.9149 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.2222, allocations: 112 kB / 0.915 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.2253, allocations: 1.421 MB / 0.9164 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.2254, allocations: 0 / 0.9164 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.2255, allocations: 44 kB / 0.9164 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.2255, allocations: 24 kB / 0.9165 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/0.2285, allocations: 1.104 MB / 0.9176 GB, free: 4.27 MB / 0.8698 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.009814/0.2383, allocations: 5.452 MB / 0.9229 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.2418, allocations: 0.7712 MB / 0.9236 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006776/0.2425, allocations: 270.1 kB / 0.9239 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/0.2431, allocations: 160.4 kB / 0.924 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.2431, allocations: 43.05 kB / 0.9241 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=48): time 2.414e-06/0.2431, allocations: 0 / 0.9241 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48): time 0.005156/0.2483, allocations: 1.25 MB / 0.9253 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.2483, allocations: 59.89 kB / 0.9254 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.2507, allocations: 1.236 MB / 0.9266 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/0.2507, allocations: 37.7 kB / 0.9266 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007581/0.2515, allocations: 0.7072 MB / 0.9273 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.2517, allocations: 178.5 kB / 0.9275 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/0.2521, allocations: 174.5 kB / 0.9276 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.2523, allocations: 337.9 kB / 0.928 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.2533, allocations: 361.8 kB / 0.9283 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.2553, allocations: 0.9847 MB / 0.9293 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.2574, allocations: 0.8899 MB / 0.9301 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.2574, allocations: 4 kB / 0.9301 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003387/0.2608, allocations: 1.204 MB / 0.9313 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.2609, allocations: 8 kB / 0.9313 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/0.2609, allocations: 8 kB / 0.9313 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009958/0.2619, allocations: 216.7 kB / 0.9315 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/0.2627, allocations: 195.7 kB / 0.9317 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.2638, allocations: 0.7201 MB / 0.9324 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.2652, allocations: 167.5 kB / 0.9326 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.2653, allocations: 51.91 kB / 0.9326 GB, free: 4.258 MB / 0.8855 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.0007188/0.266, allocations: 357.6 kB / 0.933 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.2663, allocations: 135.2 kB / 0.9331 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.2691, allocations: 1.134 MB / 0.9342 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.2691, allocations: 8 kB / 0.9342 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.2691, allocations: 11.92 kB / 0.9342 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.2691, allocations: 3.984 kB / 0.9342 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006007/0.2751, allocations: 2.193 MB / 0.9364 GB, free: 348 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.2751, allocations: 0 / 0.9364 GB, free: 348 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.2755, allocations: 87.88 kB / 0.9365 GB, free: 260 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008358/0.2764, allocations: 216.7 kB / 0.9367 GB, free: 40 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.2764, allocations: 16 kB / 0.9367 GB, free: 24 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.278, allocations: 0.7709 MB / 0.9374 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.278, allocations: 0 / 0.9374 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/0.2818, allocations: 1.205 MB / 0.9386 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/0.2823, allocations: 246.9 kB / 0.9388 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.2825, allocations: 12 kB / 0.9389 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008196/0.2833, allocations: 63.92 kB / 0.9389 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.2834, allocations: 56.3 kB / 0.939 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.2835, allocations: 27.92 kB / 0.939 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00167/0.2851, allocations: 0.8631 MB / 0.9398 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.2851, allocations: 0 / 0.9398 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001613/0.2867, allocations: 478.7 kB / 0.9403 GB, free: 12.25 MB / 0.9011 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.0009916/0.2877, allocations: 481.3 kB / 0.9408 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002435/0.2902, allocations: 0.8336 MB / 0.9416 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2902, allocations: 0 / 0.9416 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.2916, allocations: 420.5 kB / 0.942 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.294, allocations: 494.2 kB / 0.9424 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.2988, allocations: 2.283 MB / 0.9447 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007895/0.2996, allocations: 0.5864 MB / 0.9452 GB, free: 7.094 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008849/0.3005, allocations: 225 kB / 0.9455 GB, free: 6.875 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.3007, allocations: 104.4 kB / 0.9456 GB, free: 6.773 MB / 0.9011 GB Notification: Performance of SimCode: time 1.152e-06/0.3007, allocations: 0 / 0.9456 GB, free: 6.773 MB / 0.9011 GB Notification: Performance of Templates: time 0.04861/0.3494, allocations: 25.12 MB / 0.9701 GB, free: 14.14 MB / 0.9323 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.560429521021433]