Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.0009121/0.0009121, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001122/0.001122, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.915/1.915, allocations: 377.9 MB / 0.6247 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] 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.CarnotVerifyCOP,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_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,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_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.588e-05, allocations: 4.703 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.02157/0.02158, allocations: 32.22 MB / 0.8443 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.03524, allocations: 9.595 MB / 0.8536 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.03747, allocations: 178.5 kB / 0.8538 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.03877, allocations: 0.7597 MB / 0.8545 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004175/0.04295, allocations: 2.657 MB / 0.8571 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0032/0.04615, allocations: 2.201 MB / 0.8593 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005634/0.05178, allocations: 6.504 MB / 0.8656 GB, free: 11.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.05388, allocations: 1.891 MB / 0.8675 GB, free: 9.25 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.05735, allocations: 3.336 MB / 0.8707 GB, free: 5.93 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.05889, allocations: 1.554 MB / 0.8723 GB, free: 4.371 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.05913, allocations: 232 kB / 0.8725 GB, free: 4.145 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009266/0.06005, allocations: 0.7098 MB / 0.8732 GB, free: 3.434 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.06041, allocations: 0.6184 MB / 0.8738 GB, free: 2.812 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007167/0.06112, allocations: 0.9469 MB / 0.8747 GB, free: 1.863 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.06307, allocations: 2.367 MB / 0.877 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.06307, allocations: 0 / 0.877 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.62e-07/0.06307, allocations: 0 / 0.877 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.06309, allocations: 4 kB / 0.877 GB, free: 15.48 MB / 0.8386 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.00293/0.06602, allocations: 3.139 MB / 0.8801 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.06606, allocations: 12.03 kB / 0.8801 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.06782, allocations: 0.8416 MB / 0.8809 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.06979, allocations: 2.156 MB / 0.883 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.026e-05/0.06987, allocations: 123 kB / 0.8831 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.07002, allocations: 168 kB / 0.8833 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.07155, allocations: 1.332 MB / 0.8846 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.07158, allocations: 0 / 0.8846 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/0.07167, allocations: 68 kB / 0.8847 GB, free: 7.383 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.07169, allocations: 36 kB / 0.8847 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007437/0.07244, allocations: 0.5657 MB / 0.8852 GB, free: 6.781 MB / 0.8386 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.005271/0.07771, allocations: 6.123 MB / 0.8912 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.07885, allocations: 0.6217 MB / 0.8918 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.07904, allocations: 163.7 kB / 0.892 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.205e-05/0.07914, allocations: 43.95 kB / 0.892 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.07916, allocations: 45.39 kB / 0.8921 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=76): time 1.934e-06/0.07916, allocations: 0 / 0.8921 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.002494/0.08166, allocations: 1.249 MB / 0.8933 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.08169, allocations: 85.11 kB / 0.8934 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.08295, allocations: 1.626 MB / 0.895 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.08301, allocations: 49.7 kB / 0.895 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.08363, allocations: 1.15 MB / 0.8961 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.08378, allocations: 289.5 kB / 0.8964 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.08404, allocations: 268.2 kB / 0.8967 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.08416, allocations: 0.5198 MB / 0.8972 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.08445, allocations: 146.5 kB / 0.8973 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.08521, allocations: 1.327 MB / 0.8986 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.08591, allocations: 0.7354 MB / 0.8993 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.08592, allocations: 4 kB / 0.8993 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002358/0.08828, allocations: 1.245 MB / 0.9005 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.08829, allocations: 9.25 kB / 0.9006 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.0883, allocations: 12 kB / 0.9006 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/0.08895, allocations: 335.1 kB / 0.9009 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.08944, allocations: 235.6 kB / 0.9011 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008659/0.0903, allocations: 1.805 MB / 0.9029 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/0.09106, allocations: 223.1 kB / 0.9031 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/0.09113, allocations: 47.97 kB / 0.9031 GB, free: 3.539 MB / 0.8542 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.0003146/0.09145, allocations: 224.3 kB / 0.9033 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.09167, allocations: 234.6 kB / 0.9036 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.09271, allocations: 0.8712 MB / 0.9044 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.09272, allocations: 11.98 kB / 0.9044 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.09273, allocations: 0 / 0.9044 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.09273, allocations: 3.984 kB / 0.9044 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.09535, allocations: 2.204 MB / 0.9066 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.09536, allocations: 4 kB / 0.9066 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.09561, allocations: 111.8 kB / 0.9067 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/0.09617, allocations: 319.3 kB / 0.907 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.09621, allocations: 35.91 kB / 0.907 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009293/0.09714, allocations: 1.84 MB / 0.9088 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.09714, allocations: 3.938 kB / 0.9088 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.09882, allocations: 1.329 MB / 0.9101 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/0.09921, allocations: 372.1 kB / 0.9105 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.09935, allocations: 20 kB / 0.9105 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.09989, allocations: 75.88 kB / 0.9106 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.09994, allocations: 63.83 kB / 0.9106 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.09999, allocations: 31.97 kB / 0.9107 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006786/0.1007, allocations: 0.9192 MB / 0.9116 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1007, allocations: 3.938 kB / 0.9116 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009187/0.1016, allocations: 0.5885 MB / 0.9121 GB, free: 10 MB / 0.8698 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.0003668/0.102, allocations: 214.8 kB / 0.9124 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009553/0.1029, allocations: 0.6087 MB / 0.9129 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1029, allocations: 0 / 0.9129 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.1035, allocations: 380.5 kB / 0.9133 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.1055, allocations: 0.9032 MB / 0.9142 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.1089, allocations: 3.213 MB / 0.9173 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1091, allocations: 366.2 kB / 0.9177 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006986/0.1098, allocations: 319.5 kB / 0.918 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/0.111, allocations: 0.7515 MB / 0.9187 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of SimCode: time 7.42e-07/0.111, allocations: 0 / 0.9187 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of Templates: time 0.04033/0.1513, allocations: 38.44 MB / 0.9563 GB, free: 13.64 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.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.83403390692547]