Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.1-maint.10.0.x/package.mo", uses=false) 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.CarnotVerifyCOP,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.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,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.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001152/0.001152, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9857/0.9871, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1303/1.117, allocations: 132.2 MB / 1.296 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0352/1.153, allocations: 23.21 MB / 1.319 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006321/1.159, allocations: 123.3 kB / 1.319 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005251/1.164, allocations: 1.533 MB / 1.321 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01381/1.178, allocations: 4.323 MB / 1.325 GB, free: 1.914 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00669/1.185, allocations: 2.175 MB / 1.327 GB, free: 15.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01138/1.196, allocations: 6.537 MB / 1.333 GB, free: 9.207 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004933/1.201, allocations: 2.355 MB / 1.336 GB, free: 6.797 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008181/1.21, allocations: 2.814 MB / 1.339 GB, free: 3.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/1.214, allocations: 1.882 MB / 1.34 GB, free: 2.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001142/1.215, allocations: 244 kB / 1.341 GB, free: 1.852 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005965/1.221, allocations: 1.946 MB / 1.342 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/1.223, allocations: 0.5876 MB / 1.343 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003318/1.226, allocations: 1.458 MB / 1.344 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008606/1.235, allocations: 4.345 MB / 1.349 GB, free: 9.492 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.235, allocations: 0 / 1.349 GB, free: 9.492 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.344e-06/1.235, allocations: 0 / 1.349 GB, free: 9.492 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001133/1.235, allocations: 0 / 1.349 GB, free: 9.492 MB / 1.076 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.007339/1.242, allocations: 3.172 MB / 1.352 GB, free: 6.234 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/1.242, allocations: 12.92 kB / 1.352 GB, free: 6.223 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/1.247, allocations: 0.836 MB / 1.353 GB, free: 5.383 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00532/1.252, allocations: 2.321 MB / 1.355 GB, free: 2.988 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/1.253, allocations: 123 kB / 1.355 GB, free: 2.867 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/1.253, allocations: 164 kB / 1.355 GB, free: 2.707 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/1.257, allocations: 1.926 MB / 1.357 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/1.257, allocations: 0 / 1.357 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/1.257, allocations: 60 kB / 1.357 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/1.257, allocations: 43.94 kB / 1.357 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/1.262, allocations: 1.784 MB / 1.359 GB, free: 14.82 MB / 1.092 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.01388/1.276, allocations: 8.98 MB / 1.368 GB, free: 5.242 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/1.28, allocations: 1.193 MB / 1.369 GB, free: 4.031 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/1.281, allocations: 457.4 kB / 1.369 GB, free: 3.578 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/1.282, allocations: 1.723 MB / 1.371 GB, free: 1.469 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/1.282, allocations: 42.56 kB / 1.371 GB, free: 1.418 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 3.266e-06/1.282, allocations: 0 / 1.371 GB, free: 1.418 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.008994/1.291, allocations: 2.317 MB / 1.373 GB, free: 15.04 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/1.291, allocations: 89.05 kB / 1.373 GB, free: 14.94 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005477/1.297, allocations: 2.5 MB / 1.376 GB, free: 12.42 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002181/1.297, allocations: 45.7 kB / 1.376 GB, free: 12.37 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/1.298, allocations: 1.03 MB / 1.377 GB, free: 11.33 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004117/1.299, allocations: 280.1 kB / 1.377 GB, free: 11.05 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/1.299, allocations: 250.6 kB / 1.377 GB, free: 10.8 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.299, allocations: 353.9 kB / 1.378 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/1.301, allocations: 0.5686 MB / 1.378 GB, free: 9.883 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/1.303, allocations: 0.9543 MB / 1.379 GB, free: 8.777 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003032/1.306, allocations: 1.244 MB / 1.38 GB, free: 7.43 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.306, allocations: 7.938 kB / 1.38 GB, free: 7.422 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006603/1.313, allocations: 2.02 MB / 1.382 GB, free: 5.383 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.313, allocations: 8 kB / 1.382 GB, free: 5.375 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.313, allocations: 11.94 kB / 1.382 GB, free: 5.363 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/1.315, allocations: 417.8 kB / 1.383 GB, free: 4.949 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.316, allocations: 283.5 kB / 1.383 GB, free: 4.672 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/1.318, allocations: 1.51 MB / 1.385 GB, free: 3.113 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/1.321, allocations: 358 kB / 1.385 GB, free: 2.762 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.321, allocations: 63.95 kB / 1.385 GB, free: 2.699 MB / 1.107 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.322, allocations: 457.9 kB / 1.385 GB, free: 2.242 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.324, allocations: 248.9 kB / 1.386 GB, free: 1.996 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/1.327, allocations: 1.498 MB / 1.387 GB, free: 484 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/1.328, allocations: 8 kB / 1.387 GB, free: 476 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.328, allocations: 3.938 kB / 1.387 GB, free: 472 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.328, allocations: 3.984 kB / 1.387 GB, free: 468 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008236/1.336, allocations: 3.602 MB / 1.391 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.336, allocations: 7.938 kB / 1.391 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/1.336, allocations: 136.1 kB / 1.391 GB, free: 12.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/1.338, allocations: 413.2 kB / 1.391 GB, free: 12.19 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/1.338, allocations: 23.98 kB / 1.391 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/1.341, allocations: 1.573 MB / 1.393 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/1.341, allocations: 7.938 kB / 1.393 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005972/1.347, allocations: 1.928 MB / 1.395 GB, free: 8.547 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.348, allocations: 489.5 kB / 1.395 GB, free: 8.047 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006566/1.349, allocations: 23.94 kB / 1.395 GB, free: 8.023 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/1.351, allocations: 135.8 kB / 1.395 GB, free: 7.891 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.351, allocations: 55.88 kB / 1.395 GB, free: 7.836 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.351, allocations: 51.89 kB / 1.395 GB, free: 7.785 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00345/1.354, allocations: 1.742 MB / 1.397 GB, free: 6.039 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.354, allocations: 0 / 1.397 GB, free: 6.039 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002338/1.357, allocations: 0.6867 MB / 1.398 GB, free: 5.352 MB / 1.123 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001355/1.358, allocations: 0.6267 MB / 1.398 GB, free: 4.727 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004135/1.362, allocations: 1.351 MB / 1.4 GB, free: 3.375 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.362, allocations: 4.094 kB / 1.4 GB, free: 3.371 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/1.365, allocations: 0.6611 MB / 1.4 GB, free: 2.711 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006425/1.371, allocations: 1.323 MB / 1.402 GB, free: 1.406 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00683/1.378, allocations: 3.569 MB / 1.405 GB, free: 13.76 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.379, allocations: 1.482 MB / 1.406 GB, free: 12.24 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000665/1.38, allocations: 183.4 kB / 1.407 GB, free: 12.06 MB / 1.139 GB Notification: Performance of SimCode: time 7.42e-07/1.38, allocations: 0 / 1.407 GB, free: 12.06 MB / 1.139 GB Notification: Performance of Templates: time 0.07791/1.458, allocations: 62.56 MB / 1.468 GB, free: 13.79 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches