Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001066/0.001066, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.0009516/0.0009516, allocations: 161 kB / 23.82 MB, free: 0.7695 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.9007/0.9007, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.78/1.78, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/3.022e-05, allocations: 5.969 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.02041/0.02045, allocations: 18.62 MB / 0.8053 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.03107, allocations: 7.066 MB / 0.8122 GB, free: 2.793 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000857/0.03192, allocations: 95.19 kB / 0.8123 GB, free: 2.699 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.03264, allocations: 440.5 kB / 0.8127 GB, free: 2.266 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.0347, allocations: 1.76 MB / 0.8144 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.03668, allocations: 1.555 MB / 0.8159 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002486/0.03916, allocations: 4.006 MB / 0.8198 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009538/0.04012, allocations: 1.181 MB / 0.821 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.04206, allocations: 2.005 MB / 0.8229 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008629/0.04293, allocations: 1.005 MB / 0.8239 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.04307, allocations: 172 kB / 0.8241 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.04382, allocations: 0.6473 MB / 0.8247 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.04404, allocations: 402.4 kB / 0.8251 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004147/0.04446, allocations: 0.5923 MB / 0.8257 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.04589, allocations: 1.647 MB / 0.8273 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.0459, allocations: 0 / 0.8273 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.0459, allocations: 0 / 0.8273 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.04591, allocations: 0 / 0.8273 GB, free: 3.238 MB / 0.7761 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.001827/0.04773, allocations: 2.027 MB / 0.8293 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.04777, allocations: 8.031 kB / 0.8293 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.04874, allocations: 471.5 kB / 0.8297 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.0503, allocations: 1.544 MB / 0.8312 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.05035, allocations: 82.03 kB / 0.8313 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.05044, allocations: 104 kB / 0.8314 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.05178, allocations: 1.1 MB / 0.8325 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.0518, allocations: 4 kB / 0.8325 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.05193, allocations: 44 kB / 0.8325 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.05195, allocations: 28 kB / 0.8326 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/0.05269, allocations: 471.3 kB / 0.833 GB, free: 13.12 MB / 0.7917 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.004186/0.05688, allocations: 6.241 MB / 0.8391 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.05779, allocations: 438.5 kB / 0.8395 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.05795, allocations: 121.1 kB / 0.8396 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.05808, allocations: 64.45 kB / 0.8397 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.05811, allocations: 41.89 kB / 0.8397 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=48): time 1.744e-06/0.05811, allocations: 0 / 0.8397 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.0015/0.05961, allocations: 0.73 MB / 0.8405 GB, free: 5.281 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.05963, allocations: 59.91 kB / 0.8405 GB, free: 5.211 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/0.06056, allocations: 1.054 MB / 0.8415 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.0606, allocations: 33.7 kB / 0.8416 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.06098, allocations: 0.7649 MB / 0.8423 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.955e-05/0.06107, allocations: 174.5 kB / 0.8425 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.06124, allocations: 180.2 kB / 0.8427 GB, free: 2.98 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.06135, allocations: 0.5004 MB / 0.8431 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.06168, allocations: 105.9 kB / 0.8432 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.06214, allocations: 0.8544 MB / 0.8441 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.06268, allocations: 0.5998 MB / 0.8447 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.06268, allocations: 4 kB / 0.8447 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008846/0.06357, allocations: 0.688 MB / 0.8453 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.06359, allocations: 20.02 kB / 0.8454 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.06359, allocations: 8 kB / 0.8454 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/0.06403, allocations: 175.4 kB / 0.8455 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.06438, allocations: 175.7 kB / 0.8457 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003941/0.06478, allocations: 0.8702 MB / 0.8466 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.06522, allocations: 143.3 kB / 0.8467 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.06528, allocations: 43.98 kB / 0.8467 GB, free: 14.34 MB / 0.8073 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.0002057/0.06549, allocations: 200.4 kB / 0.8469 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.06562, allocations: 143.1 kB / 0.8471 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009161/0.06653, allocations: 0.7725 MB / 0.8478 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.06654, allocations: 15.94 kB / 0.8478 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.06655, allocations: 4 kB / 0.8478 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.06655, allocations: 3.984 kB / 0.8478 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.06853, allocations: 1.71 MB / 0.8495 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.06853, allocations: 4 kB / 0.8495 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.0687, allocations: 75.83 kB / 0.8496 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.06904, allocations: 167.7 kB / 0.8497 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.06907, allocations: 19.98 kB / 0.8498 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006062/0.06968, allocations: 0.9014 MB / 0.8506 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.06968, allocations: 3.938 kB / 0.8506 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.07073, allocations: 0.8398 MB / 0.8515 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.07098, allocations: 242.8 kB / 0.8517 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-05/0.07107, allocations: 12 kB / 0.8517 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.07136, allocations: 39.97 kB / 0.8517 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.07142, allocations: 48.36 kB / 0.8518 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.07145, allocations: 23.98 kB / 0.8518 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005721/0.07202, allocations: 0.6482 MB / 0.8525 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.07202, allocations: 0 / 0.8525 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005863/0.07261, allocations: 395 kB / 0.8528 GB, free: 7.914 MB / 0.8073 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.0003456/0.07296, allocations: 226.8 kB / 0.853 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006579/0.07361, allocations: 443.3 kB / 0.8535 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.07362, allocations: 4 kB / 0.8535 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.074, allocations: 261.7 kB / 0.8537 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.07516, allocations: 488.7 kB / 0.8542 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.07741, allocations: 2.047 MB / 0.8562 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.07755, allocations: 241.3 kB / 0.8564 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003972/0.07795, allocations: 209.3 kB / 0.8566 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.07811, allocations: 108.4 kB / 0.8567 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.07811, allocations: 0 / 0.8567 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of Templates: time 0.02517/0.1033, allocations: 23.63 MB / 0.8798 GB, free: 12.68 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.377133694943041]