Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.0008519/0.0008519, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0008825/0.0008825, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9497/0.9497, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.806/1.806, allocations: 359 MB / 0.6055 GB, free: 10.89 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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.799e-05, allocations: 5.375 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02329/0.02331, allocations: 32.04 MB / 0.8189 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.03928, allocations: 9.604 MB / 0.8282 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/0.04367, allocations: 174.5 kB / 0.8284 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.04516, allocations: 0.7674 MB / 0.8291 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004832/0.05, allocations: 2.684 MB / 0.8318 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.05341, allocations: 2.188 MB / 0.8339 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006722/0.06013, allocations: 6.537 MB / 0.8403 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.06289, allocations: 1.915 MB / 0.8422 GB, free: 4.086 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004801/0.06769, allocations: 3.318 MB / 0.8454 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.06934, allocations: 1.589 MB / 0.847 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.06961, allocations: 244 kB / 0.8472 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.07083, allocations: 0.702 MB / 0.8479 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003808/0.07122, allocations: 0.6223 MB / 0.8485 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.07206, allocations: 0.9508 MB / 0.8494 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.07434, allocations: 2.363 MB / 0.8517 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.07435, allocations: 0 / 0.8517 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.232e-06/0.07435, allocations: 0 / 0.8517 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.07438, allocations: 4 kB / 0.8517 GB, free: 10.3 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.003219/0.07759, allocations: 3.182 MB / 0.8548 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.07763, allocations: 8.031 kB / 0.8548 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.0794, allocations: 0.838 MB / 0.8557 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.08135, allocations: 2.168 MB / 0.8578 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.08142, allocations: 127 kB / 0.8579 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.08158, allocations: 160 kB / 0.858 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.08333, allocations: 1.332 MB / 0.8593 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.08335, allocations: 7.938 kB / 0.8594 GB, free: 2.219 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/0.08344, allocations: 60 kB / 0.8594 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.08347, allocations: 40 kB / 0.8594 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.08422, allocations: 0.5579 MB / 0.86 GB, free: 1.562 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.006003/0.09022, allocations: 6.115 MB / 0.866 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.09123, allocations: 0.6249 MB / 0.8666 GB, free: 10.65 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.09142, allocations: 178.9 kB / 0.8667 GB, free: 10.47 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.09152, allocations: 56.8 kB / 0.8668 GB, free: 10.43 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.09155, allocations: 45.39 kB / 0.8668 GB, free: 10.37 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 1.603e-06/0.09155, allocations: 0 / 0.8668 GB, free: 10.37 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.002328/0.09388, allocations: 1.247 MB / 0.8681 GB, free: 9.109 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.09391, allocations: 89.05 kB / 0.8681 GB, free: 9.004 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.09521, allocations: 1.646 MB / 0.8698 GB, free: 7.316 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.09526, allocations: 49.7 kB / 0.8698 GB, free: 7.262 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/0.09586, allocations: 1.162 MB / 0.8709 GB, free: 6.086 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.09602, allocations: 281.6 kB / 0.8712 GB, free: 5.809 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.09629, allocations: 268.2 kB / 0.8715 GB, free: 5.535 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.09643, allocations: 0.5198 MB / 0.872 GB, free: 5.008 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.09669, allocations: 146.5 kB / 0.8721 GB, free: 4.867 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009898/0.09768, allocations: 1.337 MB / 0.8734 GB, free: 3.148 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.09835, allocations: 0.7309 MB / 0.8741 GB, free: 2.258 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.09835, allocations: 0 / 0.8741 GB, free: 2.258 MB / 0.823 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002116/0.1005, allocations: 1.241 MB / 0.8753 GB, free: 1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1005, allocations: 8 kB / 0.8753 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1005, allocations: 8 kB / 0.8754 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006914/0.1012, allocations: 399 kB / 0.8757 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.1016, allocations: 243.6 kB / 0.876 GB, free: 356 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008548/0.1025, allocations: 1.82 MB / 0.8777 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007301/0.1032, allocations: 207.2 kB / 0.8779 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.1033, allocations: 51.97 kB / 0.878 GB, free: 14.21 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000285/0.1036, allocations: 224.3 kB / 0.8782 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.1038, allocations: 234.6 kB / 0.8784 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.105, allocations: 0.8699 MB / 0.8793 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.105, allocations: 15.98 kB / 0.8793 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.105, allocations: 0 / 0.8793 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.1051, allocations: 7.984 kB / 0.8793 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.1075, allocations: 2.205 MB / 0.8815 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.1075, allocations: 8.375 kB / 0.8815 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.1077, allocations: 115.9 kB / 0.8816 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006215/0.1083, allocations: 386.8 kB / 0.8819 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.1084, allocations: 31.97 kB / 0.882 GB, free: 10 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008816/0.1093, allocations: 1.842 MB / 0.8838 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.1093, allocations: 4 kB / 0.8838 GB, free: 8.094 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.1108, allocations: 1.333 MB / 0.8851 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.1112, allocations: 368.1 kB / 0.8854 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.1113, allocations: 20 kB / 0.8854 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004903/0.1118, allocations: 75.92 kB / 0.8855 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.1118, allocations: 63.78 kB / 0.8856 GB, free: 6.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.1119, allocations: 35.95 kB / 0.8856 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009462/0.1128, allocations: 0.9312 MB / 0.8865 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.1128, allocations: 0 / 0.8865 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009349/0.1138, allocations: 0.5885 MB / 0.8871 GB, free: 4.586 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000275/0.114, allocations: 222.8 kB / 0.8873 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008805/0.1149, allocations: 0.6053 MB / 0.8879 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1149, allocations: 4 kB / 0.8879 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.1155, allocations: 374.2 kB / 0.8883 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.1173, allocations: 0.9188 MB / 0.8892 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.1209, allocations: 3.22 MB / 0.8923 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.1212, allocations: 366.1 kB / 0.8927 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001346/0.1225, allocations: 321.9 kB / 0.893 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.1236, allocations: 0.7554 MB / 0.8937 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/0.1236, allocations: 0 / 0.8937 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.05248/0.1761, allocations: 38.13 MB / 0.9309 GB, free: 8.504 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.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.964480122085661]