Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009936/0.0009936, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001008/0.001008, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9647/0.9647, allocations: 177.1 MB / 204.2 MB, free: 5.316 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.971/1.971, allocations: 377.9 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.615e-05, allocations: 3.25 kB / 0.8115 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01567/0.0157, allocations: 18.72 MB / 0.8298 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02571, allocations: 7.054 MB / 0.8367 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.02744, allocations: 95.19 kB / 0.8368 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0008898/0.02833, allocations: 444.5 kB / 0.8372 GB, free: 7.371 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.03177, allocations: 1.729 MB / 0.8389 GB, free: 5.633 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.03457, allocations: 1.552 MB / 0.8404 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004741/0.03931, allocations: 3.982 MB / 0.8443 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.04139, allocations: 1.181 MB / 0.8455 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.04455, allocations: 1.845 MB / 0.8473 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.04609, allocations: 1.036 MB / 0.8483 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.04643, allocations: 176 kB / 0.8484 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.04764, allocations: 0.6707 MB / 0.8491 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.04796, allocations: 418.4 kB / 0.8495 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0007281/0.04869, allocations: 0.6118 MB / 0.8501 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.05102, allocations: 1.678 MB / 0.8517 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.05103, allocations: 0 / 0.8517 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.493e-06/0.05103, allocations: 0 / 0.8517 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.904e-05/0.05108, allocations: 0 / 0.8517 GB, free: 8.434 MB / 0.8073 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.002538/0.05361, allocations: 2.046 MB / 0.8537 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.05365, allocations: 12.03 kB / 0.8537 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.05472, allocations: 475.5 kB / 0.8542 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.0566, allocations: 1.613 MB / 0.8558 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.05665, allocations: 82.03 kB / 0.8558 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.91e-05/0.05675, allocations: 108 kB / 0.856 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.05806, allocations: 1.1 MB / 0.857 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.05808, allocations: 4 kB / 0.857 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/0.05816, allocations: 44 kB / 0.8571 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.05818, allocations: 24 kB / 0.8571 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/0.05902, allocations: 471.3 kB / 0.8575 GB, free: 2.211 MB / 0.8073 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.004887/0.06391, allocations: 6.276 MB / 0.8637 GB, free: 11.76 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.06504, allocations: 467.8 kB / 0.8641 GB, free: 11.29 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.06521, allocations: 117.1 kB / 0.8642 GB, free: 11.17 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.06537, allocations: 64.44 kB / 0.8643 GB, free: 11.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.0654, allocations: 41.89 kB / 0.8643 GB, free: 11.06 MB / 0.823 GB Notification: Performance of pre-optimization done (n=48): time 1.373e-06/0.0654, allocations: 0 / 0.8643 GB, free: 11.06 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001607/0.06701, allocations: 0.7417 MB / 0.8651 GB, free: 10.31 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.06703, allocations: 55.91 kB / 0.8651 GB, free: 10.24 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.06824, allocations: 1.05 MB / 0.8661 GB, free: 9.184 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.06828, allocations: 41.64 kB / 0.8662 GB, free: 9.137 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.06869, allocations: 0.7571 MB / 0.8669 GB, free: 8.371 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.06881, allocations: 178.5 kB / 0.8671 GB, free: 8.195 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.069, allocations: 184.1 kB / 0.8673 GB, free: 8.008 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.06913, allocations: 0.5043 MB / 0.8678 GB, free: 7.496 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.06935, allocations: 109.9 kB / 0.8679 GB, free: 7.391 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.06985, allocations: 0.8428 MB / 0.8687 GB, free: 6.293 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.07046, allocations: 0.5998 MB / 0.8693 GB, free: 5.539 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.07046, allocations: 4 kB / 0.8693 GB, free: 5.535 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009753/0.07144, allocations: 0.6996 MB / 0.87 GB, free: 4.824 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.07146, allocations: 8 kB / 0.87 GB, free: 4.816 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.07147, allocations: 8 kB / 0.87 GB, free: 4.809 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/0.07193, allocations: 163.7 kB / 0.8701 GB, free: 4.645 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.0723, allocations: 179.7 kB / 0.8703 GB, free: 4.469 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004423/0.07274, allocations: 0.8741 MB / 0.8711 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.07325, allocations: 135.4 kB / 0.8713 GB, free: 3.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.07331, allocations: 39.98 kB / 0.8713 GB, free: 3.391 MB / 0.823 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.0002341/0.07355, allocations: 208.2 kB / 0.8715 GB, free: 3.176 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.07369, allocations: 143.2 kB / 0.8717 GB, free: 3.035 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.07482, allocations: 0.7687 MB / 0.8724 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.07484, allocations: 15.92 kB / 0.8724 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.07484, allocations: 0 / 0.8724 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.07485, allocations: 3.984 kB / 0.8724 GB, free: 2.223 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.07709, allocations: 1.733 MB / 0.8741 GB, free: 436 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.07709, allocations: 0 / 0.8741 GB, free: 436 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.07726, allocations: 83.83 kB / 0.8742 GB, free: 352 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003631/0.07763, allocations: 167.6 kB / 0.8744 GB, free: 180 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.07766, allocations: 15.98 kB / 0.8744 GB, free: 164 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005328/0.07819, allocations: 0.8975 MB / 0.8752 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.07819, allocations: 4 kB / 0.8752 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.07935, allocations: 0.8397 MB / 0.8761 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.07968, allocations: 238.9 kB / 0.8763 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.07976, allocations: 15.94 kB / 0.8763 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.08007, allocations: 43.97 kB / 0.8764 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.08016, allocations: 52.3 kB / 0.8764 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.0802, allocations: 23.98 kB / 0.8764 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006905/0.0809, allocations: 0.6443 MB / 0.8771 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0809, allocations: 0 / 0.8771 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008589/0.08175, allocations: 395 kB / 0.8774 GB, free: 12.93 MB / 0.8386 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.0003754/0.08213, allocations: 226.8 kB / 0.8776 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008003/0.08293, allocations: 443.6 kB / 0.8781 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.08293, allocations: 0 / 0.8781 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.08336, allocations: 249.6 kB / 0.8783 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.08455, allocations: 0.4898 MB / 0.8788 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.0878, allocations: 2.058 MB / 0.8808 GB, free: 9.422 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.08797, allocations: 245.2 kB / 0.881 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005356/0.08851, allocations: 221.4 kB / 0.8812 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.08868, allocations: 104.4 kB / 0.8813 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of SimCode: time 1.453e-06/0.08868, allocations: 0 / 0.8813 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.02634/0.115, allocations: 21.49 MB / 0.9023 GB, free: 3.832 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.772174409125]