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.001568/0.001568, allocations: 93.06 kB / 19.65 MB, free: 276 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.001985/0.001985, allocations: 165 kB / 23.01 MB, free: 1.551 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.061/1.061, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.069/2.069, allocations: 429.5 MB / 0.6732 GB, free: 4.004 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 1.713e-06/1.713e-06, allocations: 0 / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.175e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01724/0.01726, allocations: 18.88 MB / 0.8966 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009716/0.02698, allocations: 8.064 MB / 0.9045 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.0282, allocations: 103.1 kB / 0.9046 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.02898, allocations: 444.4 kB / 0.905 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.03158, allocations: 1.76 MB / 0.9067 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.03451, allocations: 1.929 MB / 0.9086 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0036/0.03811, allocations: 4.064 MB / 0.9126 GB, free: 3 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.03963, allocations: 1.179 MB / 0.9137 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.04259, allocations: 1.931 MB / 0.9156 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.04409, allocations: 1.04 MB / 0.9166 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.04433, allocations: 180 kB / 0.9168 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.04535, allocations: 0.6746 MB / 0.9174 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.04562, allocations: 434.2 kB / 0.9179 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005735/0.04619, allocations: 0.6274 MB / 0.9185 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.04795, allocations: 1.717 MB / 0.9202 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.04796, allocations: 0 / 0.9202 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.293e-06/0.04796, allocations: 0 / 0.9202 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.442e-05/0.04799, allocations: 0 / 0.9202 GB, free: 11.2 MB / 0.8855 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.002371/0.05036, allocations: 2.113 MB / 0.9222 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.05039, allocations: 12.03 kB / 0.9222 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.05142, allocations: 487.2 kB / 0.9227 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.05328, allocations: 1.704 MB / 0.9244 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.05336, allocations: 82.03 kB / 0.9244 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.05355, allocations: 116 kB / 0.9245 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.05482, allocations: 1.096 MB / 0.9256 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.05484, allocations: 3.984 kB / 0.9256 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/0.0549, allocations: 44 kB / 0.9257 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.05492, allocations: 31.94 kB / 0.9257 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.05572, allocations: 483.3 kB / 0.9262 GB, free: 4.777 MB / 0.8855 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.004726/0.06045, allocations: 6.34 MB / 0.9323 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.06158, allocations: 460.1 kB / 0.9328 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.06175, allocations: 117.1 kB / 0.9329 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.06191, allocations: 68.45 kB / 0.933 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.06193, allocations: 41.89 kB / 0.933 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=48): time 1.864e-06/0.06194, allocations: 0 / 0.933 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48): time 0.001617/0.06355, allocations: 0.7377 MB / 0.9337 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.06359, allocations: 63.91 kB / 0.9338 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.06466, allocations: 1.118 MB / 0.9349 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.0647, allocations: 41.7 kB / 0.9349 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/0.06528, allocations: 0.7771 MB / 0.9357 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.06537, allocations: 182.5 kB / 0.9358 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.06557, allocations: 212.1 kB / 0.936 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.06569, allocations: 0.5082 MB / 0.9365 GB, free: 9.832 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.06592, allocations: 113.9 kB / 0.9367 GB, free: 9.719 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.06649, allocations: 1.023 MB / 0.9377 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/0.06716, allocations: 0.8011 MB / 0.9384 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.06716, allocations: 0 / 0.9384 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001068/0.06823, allocations: 0.8169 MB / 0.9392 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.06825, allocations: 12.12 kB / 0.9392 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.06826, allocations: 19.98 kB / 0.9393 GB, free: 6.477 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000432/0.06869, allocations: 179.4 kB / 0.9394 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.0691, allocations: 203.7 kB / 0.9396 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004184/0.06951, allocations: 0.8935 MB / 0.9405 GB, free: 5.172 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.07003, allocations: 155.2 kB / 0.9406 GB, free: 5.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.07009, allocations: 52.05 kB / 0.9407 GB, free: 4.969 MB / 0.9011 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.0002249/0.07032, allocations: 216.3 kB / 0.9409 GB, free: 4.746 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.07046, allocations: 155.1 kB / 0.9411 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.07159, allocations: 0.7619 MB / 0.9418 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.0716, allocations: 11.98 kB / 0.9418 GB, free: 3.801 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.07161, allocations: 4 kB / 0.9418 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.07161, allocations: 3.984 kB / 0.9418 GB, free: 3.793 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.07373, allocations: 1.747 MB / 0.9435 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.07374, allocations: 7.938 kB / 0.9435 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.0739, allocations: 75.89 kB / 0.9436 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/0.07424, allocations: 163.6 kB / 0.9438 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.07427, allocations: 15.98 kB / 0.9438 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004829/0.07476, allocations: 0.9014 MB / 0.9447 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.07476, allocations: 7.938 kB / 0.9447 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.07595, allocations: 0.8405 MB / 0.9455 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.07623, allocations: 250.8 kB / 0.9457 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/0.07631, allocations: 19.98 kB / 0.9457 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.07662, allocations: 39.97 kB / 0.9458 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.07669, allocations: 48.36 kB / 0.9458 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.07672, allocations: 27.98 kB / 0.9458 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006468/0.07737, allocations: 0.674 MB / 0.9465 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.07737, allocations: 0 / 0.9465 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007134/0.07808, allocations: 411 kB / 0.9469 GB, free: 14.41 MB / 0.9167 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.0003221/0.0784, allocations: 234.7 kB / 0.9471 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000746/0.07915, allocations: 488.8 kB / 0.9476 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.07915, allocations: 4 kB / 0.9476 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.07955, allocations: 249.8 kB / 0.9478 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.08067, allocations: 0.4889 MB / 0.9483 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.08333, allocations: 2.114 MB / 0.9504 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.08349, allocations: 249.4 kB / 0.9506 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004465/0.08394, allocations: 225.8 kB / 0.9508 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.08411, allocations: 108.5 kB / 0.9509 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/0.08411, allocations: 0 / 0.9509 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of Templates: time 0.02471/0.1088, allocations: 22.01 MB / 0.9724 GB, free: 4.645 MB / 0.9323 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.01322178915143]