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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.00154, allocations: 112.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437.1 MB / 0.7178 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=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_10_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_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002238, allocations: 67.89 kB / 1.028 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3147, allocations: 151.6 MB / 1.176 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.7946/1.109, allocations: 132.3 MB / 1.305 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0295/1.139, allocations: 23.23 MB / 1.328 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006487/1.145, allocations: 121.5 kB / 1.328 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005046/1.15, allocations: 1.49 MB / 1.329 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01395/1.164, allocations: 4.099 MB / 1.333 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006918/1.171, allocations: 2.168 MB / 1.335 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01174/1.183, allocations: 6.544 MB / 1.342 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004217/1.187, allocations: 2.353 MB / 1.344 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007888/1.195, allocations: 2.749 MB / 1.347 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004665/1.2, allocations: 1.904 MB / 1.349 GB, free: 8.133 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/1.201, allocations: 247.2 kB / 1.349 GB, free: 8.133 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006527/1.208, allocations: 1.939 MB / 1.351 GB, free: 7.414 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001266/1.209, allocations: 0.5989 MB / 1.351 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003466/1.212, allocations: 1.462 MB / 1.353 GB, free: 6.098 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009998/1.222, allocations: 4.37 MB / 1.357 GB, free: 4.398 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.222, allocations: 5.219 kB / 1.357 GB, free: 4.395 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.062e-06/1.222, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001231/1.223, allocations: 0 / 1.357 GB, free: 4.395 MB / 1.014 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.008003/1.231, allocations: 3.274 MB / 1.36 GB, free: 2.258 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.231, allocations: 13.47 kB / 1.36 GB, free: 2.254 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004933/1.236, allocations: 0.8538 MB / 1.361 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00554/1.241, allocations: 2.343 MB / 1.363 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/1.241, allocations: 124.8 kB / 1.363 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/1.242, allocations: 160.8 kB / 1.364 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/1.246, allocations: 1.915 MB / 1.366 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/1.246, allocations: 4.938 kB / 1.366 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/1.246, allocations: 66.88 kB / 1.366 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/1.246, allocations: 37.5 kB / 1.366 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00495/1.251, allocations: 1.799 MB / 1.367 GB, free: 13.85 MB / 1.029 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.01489/1.266, allocations: 9.03 MB / 1.376 GB, free: 5.996 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/1.271, allocations: 1.194 MB / 1.377 GB, free: 5.383 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/1.272, allocations: 464.6 kB / 1.378 GB, free: 5.156 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/1.273, allocations: 1.719 MB / 1.379 GB, free: 3.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.273, allocations: 43.94 kB / 1.38 GB, free: 3.082 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.284e-06/1.273, allocations: 0 / 1.38 GB, free: 3.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.009381/1.283, allocations: 2.357 MB / 1.382 GB, free: 1.797 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/1.283, allocations: 89.11 kB / 1.382 GB, free: 1.699 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/1.287, allocations: 2.525 MB / 1.384 GB, free: 368 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/1.288, allocations: 46.02 kB / 1.384 GB, free: 324 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.289, allocations: 1.053 MB / 1.385 GB, free: 15.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000364/1.289, allocations: 280.8 kB / 1.386 GB, free: 15.14 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/1.289, allocations: 252.2 kB / 1.386 GB, free: 15 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.29, allocations: 341.8 kB / 1.386 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/1.291, allocations: 0.5764 MB / 1.387 GB, free: 14.38 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/1.293, allocations: 0.9507 MB / 1.388 GB, free: 13.64 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/1.296, allocations: 1.249 MB / 1.389 GB, free: 12.83 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/1.296, allocations: 6.75 kB / 1.389 GB, free: 12.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006761/1.303, allocations: 2.05 MB / 1.391 GB, free: 11.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/1.303, allocations: 11.09 kB / 1.391 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.303, allocations: 11.88 kB / 1.391 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/1.305, allocations: 486.5 kB / 1.391 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.306, allocations: 283.5 kB / 1.392 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/1.309, allocations: 1.517 MB / 1.393 GB, free: 9.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/1.312, allocations: 366.5 kB / 1.394 GB, free: 9.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/1.312, allocations: 63.97 kB / 1.394 GB, free: 9.098 MB / 1.045 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.001121/1.313, allocations: 465.7 kB / 1.394 GB, free: 8.633 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.315, allocations: 258.4 kB / 1.394 GB, free: 8.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/1.319, allocations: 1.498 MB / 1.396 GB, free: 6.867 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/1.319, allocations: 8 kB / 1.396 GB, free: 6.859 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.319, allocations: 4 kB / 1.396 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.319, allocations: 3.984 kB / 1.396 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009735/1.329, allocations: 3.638 MB / 1.399 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.329, allocations: 4 kB / 1.399 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000598/1.329, allocations: 123.8 kB / 1.399 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/1.331, allocations: 493.1 kB / 1.4 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/1.331, allocations: 23.98 kB / 1.4 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/1.334, allocations: 1.586 MB / 1.402 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/1.334, allocations: 11.88 kB / 1.402 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006546/1.341, allocations: 1.944 MB / 1.403 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.342, allocations: 499 kB / 1.404 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/1.343, allocations: 20 kB / 1.404 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.344, allocations: 143.8 kB / 1.404 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/1.345, allocations: 63.86 kB / 1.404 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.854e-05/1.345, allocations: 39.97 kB / 1.404 GB, free: 14.04 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003327/1.348, allocations: 1.773 MB / 1.406 GB, free: 12.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.348, allocations: 3.938 kB / 1.406 GB, free: 12.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002603/1.351, allocations: 0.6979 MB / 1.407 GB, free: 11.55 MB / 1.061 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.001389/1.352, allocations: 0.629 MB / 1.407 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004405/1.356, allocations: 1.342 MB / 1.409 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.356, allocations: 0 / 1.409 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00253/1.359, allocations: 0.6831 MB / 1.409 GB, free: 8.906 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007069/1.366, allocations: 1.319 MB / 1.41 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007199/1.373, allocations: 3.661 MB / 1.414 GB, free: 3.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.375, allocations: 1.474 MB / 1.415 GB, free: 2.348 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/1.375, allocations: 191.4 kB / 1.416 GB, free: 2.16 MB / 1.061 GB Notification: Performance of SimCode: time 1.202e-06/1.375, allocations: 0 / 1.416 GB, free: 2.16 MB / 1.061 GB Notification: Performance of Templates: time 0.08471/1.46, allocations: 62.75 MB / 1.477 GB, free: 3.77 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 18.873838006984442]