Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001591/0.001591, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001934/0.001934, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.56/1.56, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.934/2.934, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.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_12_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_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.373e-05, allocations: 4.281 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1834/0.1835, allocations: 120.8 MB / 0.9288 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.04815/0.2316, allocations: 21.64 MB / 0.95 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006463/0.2381, allocations: 170.5 kB / 0.9501 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.006107/0.2442, allocations: 1.502 MB / 0.9516 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01858/0.2628, allocations: 4.484 MB / 0.956 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.008517/0.2713, allocations: 2.29 MB / 0.9582 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.01405/0.2853, allocations: 6.696 MB / 0.9647 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005395/0.2907, allocations: 1.895 MB / 0.9666 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01383/0.3046, allocations: 4.078 MB / 0.9706 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004461/0.309, allocations: 1.62 MB / 0.9722 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.3101, allocations: 248 kB / 0.9724 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006024/0.3161, allocations: 1.606 MB / 0.974 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.3175, allocations: 0.6339 MB / 0.9746 GB, free: 9.895 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.00361/0.3211, allocations: 0.9742 MB / 0.9755 GB, free: 8.918 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.3325, allocations: 4.424 MB / 0.9799 GB, free: 4.48 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3325, allocations: 0 / 0.9799 GB, free: 4.48 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3325, allocations: 0 / 0.9799 GB, free: 4.48 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001631/0.3326, allocations: 0 / 0.9799 GB, free: 4.48 MB / 0.9323 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.008914/0.3415, allocations: 3.183 MB / 0.983 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3416, allocations: 8.031 kB / 0.983 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005417/0.347, allocations: 1.006 MB / 0.9839 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006294/0.3533, allocations: 2.476 MB / 0.9864 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.3535, allocations: 127 kB / 0.9865 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/0.3538, allocations: 160 kB / 0.9866 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004877/0.3587, allocations: 2.006 MB / 0.9886 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.3587, allocations: 0 / 0.9886 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.3589, allocations: 60 kB / 0.9887 GB, free: 11.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.3589, allocations: 40 kB / 0.9887 GB, free: 11.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005412/0.3643, allocations: 1.792 MB / 0.9904 GB, free: 9.391 MB / 0.948 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.01399/0.3783, allocations: 6.237 MB / 0.9965 GB, free: 3.016 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004719/0.383, allocations: 1.143 MB / 0.9977 GB, free: 1.855 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.3843, allocations: 430.2 kB / 0.9981 GB, free: 1.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.3848, allocations: 175.6 kB / 0.9982 GB, free: 1.258 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.3849, allocations: 38.56 kB / 0.9983 GB, free: 1.211 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/0.3849, allocations: 0 / 0.9983 GB, free: 1.211 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.009471/0.3943, allocations: 2.174 MB / 1 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.3944, allocations: 88.86 kB / 1 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/0.3984, allocations: 2.021 MB / 1.002 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.3985, allocations: 41.7 kB / 1.002 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.3999, allocations: 1.094 MB / 1.004 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.4003, allocations: 277.6 kB / 1.004 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005081/0.4008, allocations: 250.8 kB / 1.004 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.401, allocations: 349.9 kB / 1.004 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.403, allocations: 0.5725 MB / 1.005 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.4059, allocations: 1.611 MB / 1.007 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.4093, allocations: 1.249 MB / 1.008 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4093, allocations: 4 kB / 1.008 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007821/0.4172, allocations: 2.031 MB / 1.01 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.4172, allocations: 12.09 kB / 1.01 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.4172, allocations: 8 kB / 1.01 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.4194, allocations: 495.6 kB / 1.01 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.4208, allocations: 283.5 kB / 1.01 GB, free: 4.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.4235, allocations: 1.522 MB / 1.012 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.4262, allocations: 291.1 kB / 1.012 GB, free: 2.301 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.4265, allocations: 59.97 kB / 1.012 GB, free: 2.242 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001194/0.4276, allocations: 473.3 kB / 1.013 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007679/0.4284, allocations: 234.6 kB / 1.013 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/0.433, allocations: 1.475 MB / 1.014 GB, free: 48 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/0.433, allocations: 19.86 kB / 1.014 GB, free: 28 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.433, allocations: 4 kB / 1.014 GB, free: 24 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.433, allocations: 7.984 kB / 1.014 GB, free: 16 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009875/0.4429, allocations: 3.169 MB / 1.018 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.4429, allocations: 4 kB / 1.018 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.4436, allocations: 132.2 kB / 1.018 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.4457, allocations: 489.1 kB / 1.018 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.4458, allocations: 23.98 kB / 1.018 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/0.449, allocations: 1.599 MB / 1.02 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.449, allocations: 4 kB / 1.02 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006989/0.456, allocations: 1.915 MB / 1.022 GB, free: 8.492 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.4572, allocations: 388.1 kB / 1.022 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005105/0.4577, allocations: 24 kB / 1.022 GB, free: 8.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.4596, allocations: 123.8 kB / 1.022 GB, free: 7.969 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.4597, allocations: 67.84 kB / 1.022 GB, free: 7.902 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.4598, allocations: 39.95 kB / 1.022 GB, free: 7.863 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003844/0.4637, allocations: 1.4 MB / 1.024 GB, free: 6.445 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4637, allocations: 0 / 1.024 GB, free: 6.445 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002788/0.4665, allocations: 0.7442 MB / 1.024 GB, free: 5.699 MB / 0.9792 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.001469/0.4679, allocations: 0.615 MB / 1.025 GB, free: 5.074 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004826/0.4728, allocations: 1.317 MB / 1.026 GB, free: 3.758 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.4728, allocations: 0 / 1.026 GB, free: 3.758 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002658/0.4754, allocations: 0.6577 MB / 1.027 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/0.4802, allocations: 0.9138 MB / 1.028 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008676/0.4889, allocations: 3.593 MB / 1.031 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.4904, allocations: 0.9272 MB / 1.032 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001768/0.4922, allocations: 358.3 kB / 1.032 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.4927, allocations: 148.4 kB / 1.033 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of SimCode: time 1.383e-06/0.4927, allocations: 0 / 1.033 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of Templates: time 0.4967/0.9894, allocations: 41.1 MB / 1.073 GB, free: 266.9 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.747926191077568]