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.001156/0.001156, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001028/0.001028, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9872/0.9872, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 2.09/2.09, allocations: 429.5 MB / 0.6736 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.185e-06/2.185e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.074e-05/4.292e-05, allocations: 5.5 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06359/0.06364, allocations: 73.79 MB / 0.9502 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02247/0.08611, allocations: 20.58 MB / 0.9703 GB, free: 8 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/0.0887, allocations: 103.1 kB / 0.9704 GB, free: 7.898 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.09067, allocations: 0.8382 MB / 0.9713 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.006153/0.09683, allocations: 3.136 MB / 0.9743 GB, free: 3.902 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.1007, allocations: 2.126 MB / 0.9764 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004457/0.1051, allocations: 4.165 MB / 0.9805 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.1065, allocations: 1.179 MB / 0.9816 GB, free: 12.39 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003994/0.1105, allocations: 2.633 MB / 0.9842 GB, free: 9.75 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.1119, allocations: 1.044 MB / 0.9852 GB, free: 8.703 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.1121, allocations: 183.9 kB / 0.9854 GB, free: 8.523 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.1141, allocations: 1.169 MB / 0.9865 GB, free: 7.352 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.1144, allocations: 426.3 kB / 0.9869 GB, free: 6.934 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006467/0.1151, allocations: 0.6274 MB / 0.9875 GB, free: 6.305 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.1182, allocations: 2.064 MB / 0.9895 GB, free: 4.234 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1182, allocations: 0 / 0.9895 GB, free: 4.234 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1182, allocations: 0 / 0.9895 GB, free: 4.234 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.1182, allocations: 0 / 0.9895 GB, free: 4.234 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.00266/0.1209, allocations: 2.174 MB / 0.9917 GB, free: 2.004 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1209, allocations: 16.02 kB / 0.9917 GB, free: 1.988 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.1221, allocations: 487.2 kB / 0.9922 GB, free: 1.512 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.1243, allocations: 1.704 MB / 0.9938 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.227e-05/0.1244, allocations: 82.03 kB / 0.9939 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.1245, allocations: 112 kB / 0.994 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.1261, allocations: 1.1 MB / 0.9951 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.1261, allocations: 3.938 kB / 0.9951 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.1262, allocations: 44 kB / 0.9951 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.1262, allocations: 24 kB / 0.9951 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008729/0.1271, allocations: 471.4 kB / 0.9956 GB, free: 13.77 MB / 0.9636 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.005612/0.1327, allocations: 6.363 MB / 1.002 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.1339, allocations: 460.7 kB / 1.002 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1341, allocations: 113.1 kB / 1.002 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/0.1345, allocations: 172.3 kB / 1.003 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.1345, allocations: 41.89 kB / 1.003 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/0.1345, allocations: 0 / 1.003 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.001765/0.1363, allocations: 0.7455 MB / 1.003 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1363, allocations: 55.91 kB / 1.003 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1374, allocations: 1.122 MB / 1.004 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.1374, allocations: 37.7 kB / 1.004 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.1379, allocations: 0.7849 MB / 1.005 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.138, allocations: 178.5 kB / 1.005 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.1382, allocations: 208.2 kB / 1.006 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1383, allocations: 0.5043 MB / 1.006 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1386, allocations: 125.9 kB / 1.006 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/0.1392, allocations: 1.015 MB / 1.007 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000775/0.14, allocations: 0.7972 MB / 1.008 GB, free: 216 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.14, allocations: 4 kB / 1.008 GB, free: 212 kB / 0.9636 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001141/0.1412, allocations: 0.8247 MB / 1.009 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.1412, allocations: 12 kB / 1.009 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1412, allocations: 15.94 kB / 1.009 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/0.1417, allocations: 167.6 kB / 1.009 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.1423, allocations: 207.6 kB / 1.009 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005167/0.1428, allocations: 0.8896 MB / 1.01 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.1434, allocations: 155.4 kB / 1.01 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.1434, allocations: 51.98 kB / 1.01 GB, free: 13.85 MB / 0.9792 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.0002801/0.1437, allocations: 220.2 kB / 1.01 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.1439, allocations: 147.1 kB / 1.011 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.1449, allocations: 0.7696 MB / 1.011 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.1449, allocations: 7.984 kB / 1.011 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1449, allocations: 0 / 1.011 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1449, allocations: 0 / 1.011 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.1474, allocations: 1.75 MB / 1.013 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1474, allocations: 3.938 kB / 1.013 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.1476, allocations: 83.83 kB / 1.013 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003668/0.148, allocations: 163.7 kB / 1.013 GB, free: 10.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.148, allocations: 15.98 kB / 1.013 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005307/0.1485, allocations: 0.9014 MB / 1.014 GB, free: 9.652 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1485, allocations: 4 kB / 1.014 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.1497, allocations: 0.8521 MB / 1.015 GB, free: 8.734 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.15, allocations: 250.8 kB / 1.015 GB, free: 8.488 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.1501, allocations: 19.94 kB / 1.015 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.1504, allocations: 35.97 kB / 1.015 GB, free: 8.434 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.1505, allocations: 48.36 kB / 1.015 GB, free: 8.387 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.1505, allocations: 27.98 kB / 1.015 GB, free: 8.359 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006655/0.1512, allocations: 0.6779 MB / 1.016 GB, free: 7.68 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.1512, allocations: 0 / 1.016 GB, free: 7.68 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001143/0.1524, allocations: 494.7 kB / 1.017 GB, free: 7.195 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.0007267/0.1531, allocations: 482 kB / 1.017 GB, free: 6.719 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0009084/0.154, allocations: 491.9 kB / 1.017 GB, free: 6.238 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.154, allocations: 4 kB / 1.017 GB, free: 6.234 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.1544, allocations: 254.7 kB / 1.018 GB, free: 5.988 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.1557, allocations: 488.7 kB / 1.018 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.159, allocations: 2.132 MB / 1.02 GB, free: 3.316 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.1592, allocations: 249.5 kB / 1.021 GB, free: 3.047 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005522/0.1597, allocations: 232.4 kB / 1.021 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.1599, allocations: 100.5 kB / 1.021 GB, free: 2.723 MB / 0.9792 GB Notification: Performance of SimCode: time 1.973e-06/0.1599, allocations: 4 kB / 1.021 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of Templates: time 0.03257/0.1925, allocations: 25.64 MB / 1.046 GB, free: 9.535 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=240 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.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: 6.668411268154159]