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.0009347/0.0009347, allocations: 93.06 kB / 19.65 MB, free: 280 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.001406/0.001406, allocations: 173 kB / 23.03 MB, free: 1.547 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.9297/0.9297, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.004/2.004, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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.424e-06/2.424e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.532e-05/3.774e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.02185/0.02188, allocations: 18.88 MB / 0.8966 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.03772, allocations: 8.07 MB / 0.9045 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.04067, allocations: 103.1 kB / 0.9046 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.04199, allocations: 456.3 kB / 0.905 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.04657, allocations: 1.76 MB / 0.9067 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.05127, allocations: 1.918 MB / 0.9086 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.005597/0.05686, allocations: 4.076 MB / 0.9126 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.0586, allocations: 1.171 MB / 0.9137 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.06192, allocations: 2.063 MB / 0.9157 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.06345, allocations: 0.9931 MB / 0.9167 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.06373, allocations: 176 kB / 0.9169 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.06527, allocations: 0.6512 MB / 0.9175 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.0656, allocations: 422.3 kB / 0.9179 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0007789/0.06637, allocations: 0.6157 MB / 0.9185 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.06885, allocations: 1.69 MB / 0.9202 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.06886, allocations: 0 / 0.9202 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.684e-06/0.06886, allocations: 0 / 0.9202 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.024e-05/0.06889, allocations: 0 / 0.9202 GB, free: 11.19 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.003032/0.07192, allocations: 2.093 MB / 0.9222 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.07197, allocations: 8.031 kB / 0.9222 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.07339, allocations: 491.2 kB / 0.9227 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.07549, allocations: 1.628 MB / 0.9243 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.07557, allocations: 86.03 kB / 0.9244 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.07571, allocations: 112 kB / 0.9245 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.07747, allocations: 1.096 MB / 0.9255 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.0775, allocations: 0 / 0.9255 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/0.07759, allocations: 44 kB / 0.9256 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.07762, allocations: 28 kB / 0.9256 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.07871, allocations: 479.3 kB / 0.9261 GB, free: 4.879 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.006119/0.08483, allocations: 6.332 MB / 0.9322 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.0861, allocations: 430.6 kB / 0.9327 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.08632, allocations: 121.1 kB / 0.9328 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.08651, allocations: 68.45 kB / 0.9328 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.08655, allocations: 41.89 kB / 0.9329 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=48): time 2.394e-06/0.08656, allocations: 0 / 0.9329 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48): time 0.00212/0.08868, allocations: 0.7338 MB / 0.9336 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.08872, allocations: 55.91 kB / 0.9336 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.09013, allocations: 1.114 MB / 0.9347 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.09018, allocations: 41.7 kB / 0.9348 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/0.09077, allocations: 0.7888 MB / 0.9355 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.0909, allocations: 174.5 kB / 0.9357 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.09118, allocations: 216.2 kB / 0.9359 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.09136, allocations: 0.5043 MB / 0.9364 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.09166, allocations: 113.9 kB / 0.9365 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008067/0.09247, allocations: 1.019 MB / 0.9375 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.09351, allocations: 0.7972 MB / 0.9383 GB, free: 7.488 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.09352, allocations: 4 kB / 0.9383 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001454/0.09497, allocations: 0.8169 MB / 0.9391 GB, free: 6.656 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.09501, allocations: 18.38 kB / 0.9391 GB, free: 6.641 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.09502, allocations: 12 kB / 0.9391 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.09566, allocations: 183.4 kB / 0.9393 GB, free: 6.445 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.09624, allocations: 207.7 kB / 0.9395 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006127/0.09685, allocations: 0.8896 MB / 0.9404 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/0.09759, allocations: 155.3 kB / 0.9405 GB, free: 5.168 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.881e-05/0.09769, allocations: 47.98 kB / 0.9406 GB, free: 5.121 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.0003095/0.098, allocations: 220.3 kB / 0.9408 GB, free: 4.895 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.0982, allocations: 139.2 kB / 0.9409 GB, free: 4.758 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.09951, allocations: 0.7775 MB / 0.9417 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.09952, allocations: 11.98 kB / 0.9417 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.09953, allocations: 0 / 0.9417 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.09953, allocations: 3.938 kB / 0.9417 GB, free: 3.945 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.1023, allocations: 1.739 MB / 0.9434 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.1023, allocations: 3.938 kB / 0.9434 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.1026, allocations: 79.89 kB / 0.9435 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/0.1031, allocations: 167.7 kB / 0.9436 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.1031, allocations: 19.98 kB / 0.9436 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006863/0.1038, allocations: 0.9053 MB / 0.9445 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1038, allocations: 0 / 0.9445 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.1055, allocations: 0.8482 MB / 0.9453 GB, free: 12 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.1058, allocations: 246.8 kB / 0.9456 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.106, allocations: 12 kB / 0.9456 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.1064, allocations: 39.95 kB / 0.9456 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1065, allocations: 44.36 kB / 0.9457 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.1065, allocations: 27.98 kB / 0.9457 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008975/0.1074, allocations: 0.6779 MB / 0.9464 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.1074, allocations: 0 / 0.9464 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001154/0.1086, allocations: 407 kB / 0.9467 GB, free: 14.57 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.0004675/0.1091, allocations: 230.7 kB / 0.947 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.1101, allocations: 487.7 kB / 0.9474 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1101, allocations: 5.625 kB / 0.9474 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005486/0.1106, allocations: 249.3 kB / 0.9477 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.1123, allocations: 490.2 kB / 0.9481 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.1161, allocations: 2.122 MB / 0.9502 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1163, allocations: 249.4 kB / 0.9505 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006755/0.117, allocations: 225.8 kB / 0.9507 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.1172, allocations: 100.5 kB / 0.9508 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of SimCode: time 1.623e-06/0.1172, allocations: 4 kB / 0.9508 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of Templates: time 0.02898/0.1462, allocations: 24.2 MB / 0.9744 GB, free: 2.637 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.234097526874393]