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.002084/0.002084, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.002672/0.002672, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.613e-06/1.613e-06, allocations: 0 / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.22e-05, allocations: 7.094 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08928/0.08931, allocations: 64.79 MB / 0.9409 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.03601/0.1253, allocations: 18.51 MB / 0.9589 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.1294, allocations: 107.1 kB / 0.959 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.003501/0.1329, allocations: 0.8343 MB / 0.9599 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.1445, allocations: 3.136 MB / 0.9629 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00761/0.1521, allocations: 2.127 MB / 0.965 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.008986/0.1611, allocations: 4.165 MB / 0.9691 GB, free: 8.551 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003354/0.1644, allocations: 1.163 MB / 0.9702 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009925/0.1743, allocations: 2.639 MB / 0.9728 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/0.178, allocations: 1.028 MB / 0.9738 GB, free: 3.684 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0008819/0.1789, allocations: 180 kB / 0.974 GB, free: 3.508 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.1836, allocations: 1.173 MB / 0.9751 GB, free: 2.332 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.1847, allocations: 418.3 kB / 0.9755 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.187, allocations: 0.6274 MB / 0.9761 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.008921/0.196, allocations: 3.256 MB / 0.9793 GB, free: 14.03 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.196, allocations: 0 / 0.9793 GB, free: 14.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.983e-06/0.196, allocations: 0 / 0.9793 GB, free: 14.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001205/0.1961, allocations: 0 / 0.9793 GB, free: 14.03 MB / 0.948 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.00692/0.203, allocations: 2.066 MB / 0.9813 GB, free: 11.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.2031, allocations: 12.03 kB / 0.9813 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/0.2063, allocations: 0.5421 MB / 0.9818 GB, free: 11.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/0.2112, allocations: 1.747 MB / 0.9836 GB, free: 9.559 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.2114, allocations: 82.03 kB / 0.9836 GB, free: 9.477 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/0.2118, allocations: 116 kB / 0.9837 GB, free: 9.363 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/0.216, allocations: 1.41 MB / 0.9851 GB, free: 7.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.2161, allocations: 3.938 kB / 0.9851 GB, free: 7.816 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.2162, allocations: 44 kB / 0.9852 GB, free: 7.773 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.2162, allocations: 32 kB / 0.9852 GB, free: 7.742 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.2194, allocations: 1.097 MB / 0.9863 GB, free: 6.645 MB / 0.948 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.01124/0.2306, allocations: 5.532 MB / 0.9917 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.2342, allocations: 0.772 MB / 0.9924 GB, free: 184 kB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007397/0.235, allocations: 262.3 kB / 0.9927 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006664/0.2356, allocations: 172.3 kB / 0.9928 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/0.2357, allocations: 39.06 kB / 0.9929 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.2357, allocations: 0 / 0.9929 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.005568/0.2413, allocations: 1.262 MB / 0.9941 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.2413, allocations: 55.91 kB / 0.9942 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.2445, allocations: 1.311 MB / 0.9954 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.2447, allocations: 37.7 kB / 0.9955 GB, free: 13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009384/0.2456, allocations: 0.7387 MB / 0.9962 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.2459, allocations: 174.5 kB / 0.9964 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004886/0.2464, allocations: 210.5 kB / 0.9966 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.2466, allocations: 334 kB / 0.9969 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.2477, allocations: 389.8 kB / 0.9973 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.2498, allocations: 1.115 MB / 0.9983 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.2523, allocations: 1.042 MB / 0.9994 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.2523, allocations: 4 kB / 0.9994 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004069/0.2564, allocations: 1.345 MB / 1.001 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.2564, allocations: 8 kB / 1.001 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.989e-05/0.2565, allocations: 12 kB / 1.001 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.2576, allocations: 228.6 kB / 1.001 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.2585, allocations: 227.7 kB / 1.001 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.2597, allocations: 0.7356 MB / 1.002 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.2616, allocations: 195.2 kB / 1.002 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.2617, allocations: 51.98 kB / 1.002 GB, free: 5.746 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (102): * Single equations (assignments): 101 * 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.001043/0.2628, allocations: 381.5 kB / 1.002 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/0.2634, allocations: 147.2 kB / 1.003 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.2665, allocations: 1.138 MB / 1.004 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/0.2666, allocations: 11.92 kB / 1.004 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2666, allocations: 0 / 1.004 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.2666, allocations: 7.984 kB / 1.004 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00688/0.2735, allocations: 2.202 MB / 1.006 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.2735, allocations: 8.188 kB / 1.006 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.2739, allocations: 83.88 kB / 1.006 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008606/0.2747, allocations: 216.5 kB / 1.006 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.2748, allocations: 12 kB / 1.006 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.2763, allocations: 0.7787 MB / 1.007 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2763, allocations: 3.938 kB / 1.007 GB, free: 0.6602 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/0.2802, allocations: 1.218 MB / 1.008 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/0.281, allocations: 250.8 kB / 1.008 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/0.2813, allocations: 11.95 kB / 1.008 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.2823, allocations: 71.92 kB / 1.008 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2825, allocations: 44.17 kB / 1.008 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/0.2825, allocations: 23.98 kB / 1.009 GB, free: 15 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002311/0.2849, allocations: 0.9045 MB / 1.009 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.2849, allocations: 0 / 1.009 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002217/0.2871, allocations: 490.7 kB / 1.01 GB, free: 13.62 MB / 0.9792 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.001269/0.2883, allocations: 478.1 kB / 1.01 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.2911, allocations: 0.8849 MB / 1.011 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.2911, allocations: 4 kB / 1.011 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.2925, allocations: 421 kB / 1.012 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/0.2956, allocations: 500 kB / 1.012 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/0.302, allocations: 2.363 MB / 1.014 GB, free: 8.941 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.3033, allocations: 0.6075 MB / 1.015 GB, free: 8.293 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001229/0.3045, allocations: 237.8 kB / 1.015 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.3049, allocations: 104.5 kB / 1.015 GB, free: 7.957 MB / 0.9792 GB Notification: Performance of SimCode: time 2.074e-06/0.3049, allocations: 0 / 1.015 GB, free: 7.957 MB / 0.9792 GB Notification: Performance of Templates: time 0.0515/0.3564, allocations: 25.64 MB / 1.04 GB, free: 14.79 MB / 1.01 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.883731197100133]