Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001318, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.28 kB / 0.8707 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3668, allocations: 151.6 MB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.7851/1.152, allocations: 132.3 MB / 1.148 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03741/1.189, allocations: 23.22 MB / 1.171 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006926/1.196, allocations: 124.4 kB / 1.171 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005877/1.202, allocations: 1.496 MB / 1.172 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0187/1.221, allocations: 4.099 MB / 1.176 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007666/1.229, allocations: 2.169 MB / 1.178 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01337/1.242, allocations: 6.554 MB / 1.185 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004559/1.247, allocations: 2.351 MB / 1.187 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00855/1.255, allocations: 2.749 MB / 1.19 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004809/1.26, allocations: 1.884 MB / 1.192 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009097/1.261, allocations: 248.4 kB / 1.192 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005995/1.267, allocations: 1.933 MB / 1.194 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008515/1.268, allocations: 0.6058 MB / 1.194 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003153/1.271, allocations: 1.462 MB / 1.196 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009292/1.28, allocations: 4.353 MB / 1.2 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.28, allocations: 0 / 1.2 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.074e-06/1.28, allocations: 0 / 1.2 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.695e-05/1.28, allocations: 0 / 1.2 GB, free: 4.746 MB / 0.8887 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.007409/1.288, allocations: 3.182 MB / 1.203 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.288, allocations: 16.86 kB / 1.203 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/1.292, allocations: 0.8366 MB / 1.204 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005737/1.298, allocations: 2.319 MB / 1.206 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/1.298, allocations: 127 kB / 1.206 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/1.299, allocations: 160 kB / 1.206 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00473/1.303, allocations: 1.936 MB / 1.208 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/1.303, allocations: 0 / 1.208 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.304, allocations: 64 kB / 1.208 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/1.304, allocations: 40 kB / 1.208 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/1.308, allocations: 1.803 MB / 1.21 GB, free: 10.12 MB / 0.9044 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.01338/1.322, allocations: 8.981 MB / 1.219 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/1.325, allocations: 1.205 MB / 1.22 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009949/1.326, allocations: 465.4 kB / 1.221 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.328, allocations: 1.73 MB / 1.222 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/1.328, allocations: 42.5 kB / 1.222 GB, free: 12.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.154e-06/1.328, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.008265/1.336, allocations: 2.333 MB / 1.225 GB, free: 10.3 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/1.336, allocations: 85.11 kB / 1.225 GB, free: 10.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/1.34, allocations: 2.52 MB / 1.227 GB, free: 7.656 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002024/1.341, allocations: 45.7 kB / 1.227 GB, free: 7.605 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009767/1.342, allocations: 1.049 MB / 1.228 GB, free: 6.547 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/1.342, allocations: 276.1 kB / 1.228 GB, free: 6.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004328/1.342, allocations: 258.5 kB / 1.229 GB, free: 6.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.342, allocations: 349.9 kB / 1.229 GB, free: 5.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/1.344, allocations: 0.5647 MB / 1.23 GB, free: 5.102 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/1.346, allocations: 0.9543 MB / 1.231 GB, free: 3.996 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/1.349, allocations: 1.248 MB / 1.232 GB, free: 2.645 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.349, allocations: 4 kB / 1.232 GB, free: 2.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00631/1.355, allocations: 2.02 MB / 1.234 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.355, allocations: 8 kB / 1.234 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.355, allocations: 8 kB / 1.234 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/1.357, allocations: 497.6 kB / 1.234 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.358, allocations: 279.6 kB / 1.234 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/1.36, allocations: 1.527 MB / 1.236 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003589/1.364, allocations: 362 kB / 1.236 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/1.364, allocations: 63.95 kB / 1.236 GB, free: 13.82 MB / 0.9356 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.001251/1.366, allocations: 458.9 kB / 1.237 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008917/1.366, allocations: 248.9 kB / 1.237 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/1.372, allocations: 1.501 MB / 1.239 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/1.372, allocations: 12 kB / 1.239 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.372, allocations: 0 / 1.239 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.372, allocations: 7.969 kB / 1.239 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.382, allocations: 3.618 MB / 1.242 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/1.382, allocations: 7.938 kB / 1.242 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008244/1.383, allocations: 132.2 kB / 1.242 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/1.385, allocations: 489.1 kB / 1.243 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/1.386, allocations: 27.98 kB / 1.243 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003399/1.389, allocations: 1.583 MB / 1.244 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.389, allocations: 7.938 kB / 1.244 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007995/1.397, allocations: 1.935 MB / 1.246 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/1.399, allocations: 493.6 kB / 1.247 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005777/1.4, allocations: 19.98 kB / 1.247 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/1.402, allocations: 139.8 kB / 1.247 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.402, allocations: 55.91 kB / 1.247 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.402, allocations: 47.97 kB / 1.247 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.004425/1.407, allocations: 1.769 MB / 1.249 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.31e-07/1.407, allocations: 0 / 1.249 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003922/1.411, allocations: 0.6944 MB / 1.249 GB, free: 340 kB / 0.9356 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.001987/1.413, allocations: 0.6299 MB / 1.25 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00571/1.418, allocations: 1.354 MB / 1.251 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.418, allocations: 4 kB / 1.251 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003228/1.422, allocations: 0.6673 MB / 1.252 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01029/1.432, allocations: 1.315 MB / 1.253 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/1.443, allocations: 3.549 MB / 1.257 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/1.446, allocations: 1.486 MB / 1.258 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004139/1.45, allocations: 435.4 kB / 1.258 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.451, allocations: 175.3 kB / 1.259 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of SimCode: time 2.975e-06/1.451, allocations: 0 / 1.259 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of Templates: time 0.0898/1.541, allocations: 48.41 MB / 1.306 GB, free: 6.926 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches