Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006709/0.006709, allocations: 101.6 kB / 15.73 MB, free: 6.023 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.001346/0.001346, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.64 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2915, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1229/0.4145, allocations: 132.2 MB / 1.217 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03552/0.4501, allocations: 23.23 MB / 1.24 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005277/0.4554, allocations: 123.3 kB / 1.24 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004607/0.46, allocations: 1.494 MB / 1.241 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.4732, allocations: 4.098 MB / 1.245 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006075/0.4793, allocations: 2.173 MB / 1.247 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009441/0.4887, allocations: 6.538 MB / 1.254 GB, free: 7.078 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003441/0.4922, allocations: 2.347 MB / 1.256 GB, free: 4.668 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006246/0.4984, allocations: 2.811 MB / 1.259 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.711/1.209, allocations: 1.89 MB / 1.261 GB, free: 50.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001787/1.211, allocations: 247.6 kB / 1.261 GB, free: 50.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007024/1.218, allocations: 1.937 MB / 1.263 GB, free: 50.98 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/1.22, allocations: 0.6003 MB / 1.263 GB, free: 50.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003038/1.223, allocations: 1.458 MB / 1.265 GB, free: 50.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01205/1.235, allocations: 4.35 MB / 1.269 GB, free: 50.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/1.235, allocations: 1.438 kB / 1.269 GB, free: 50.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.796e-06/1.235, allocations: 0 / 1.269 GB, free: 50.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001565/1.235, allocations: 0 / 1.269 GB, free: 50.88 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.01382/1.249, allocations: 3.177 MB / 1.272 GB, free: 49.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/1.249, allocations: 10.52 kB / 1.272 GB, free: 49.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006316/1.255, allocations: 0.8357 MB / 1.273 GB, free: 49.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008682/1.264, allocations: 2.346 MB / 1.275 GB, free: 48.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/1.264, allocations: 126.8 kB / 1.275 GB, free: 48.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006666/1.265, allocations: 159 kB / 1.276 GB, free: 48.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005439/1.27, allocations: 1.923 MB / 1.277 GB, free: 48.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/1.27, allocations: 4.5 kB / 1.277 GB, free: 48.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/1.271, allocations: 62.84 kB / 1.278 GB, free: 48.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/1.271, allocations: 38.22 kB / 1.278 GB, free: 48.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005685/1.276, allocations: 1.786 MB / 1.279 GB, free: 48.45 MB / 1.014 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.01828/1.295, allocations: 8.965 MB / 1.288 GB, free: 44.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004885/1.3, allocations: 1.193 MB / 1.289 GB, free: 44.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/1.301, allocations: 468.8 kB / 1.29 GB, free: 44.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009123/1.302, allocations: 1.718 MB / 1.291 GB, free: 42.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/1.302, allocations: 43.16 kB / 1.291 GB, free: 42.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.486e-06/1.302, allocations: 4 kB / 1.291 GB, free: 42 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.01088/1.313, allocations: 2.323 MB / 1.294 GB, free: 41.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/1.313, allocations: 84.83 kB / 1.294 GB, free: 41.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006086/1.319, allocations: 2.499 MB / 1.296 GB, free: 41.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004444/1.32, allocations: 43.27 kB / 1.296 GB, free: 41.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.321, allocations: 1.048 MB / 1.297 GB, free: 40.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004362/1.321, allocations: 266.8 kB / 1.298 GB, free: 40.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005388/1.322, allocations: 257 kB / 1.298 GB, free: 40.74 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.322, allocations: 343.8 kB / 1.298 GB, free: 40.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/1.324, allocations: 0.5699 MB / 1.299 GB, free: 40.42 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/1.326, allocations: 0.9559 MB / 1.3 GB, free: 40.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/1.329, allocations: 1.25 MB / 1.301 GB, free: 39.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/1.329, allocations: 2.438 kB / 1.301 GB, free: 39.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007527/1.337, allocations: 2.014 MB / 1.303 GB, free: 39.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/1.337, allocations: 8.375 kB / 1.303 GB, free: 39.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/1.337, allocations: 12.69 kB / 1.303 GB, free: 39.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/1.339, allocations: 430 kB / 1.303 GB, free: 39.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/1.34, allocations: 284.7 kB / 1.303 GB, free: 39.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/1.342, allocations: 1.503 MB / 1.305 GB, free: 38.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004048/1.346, allocations: 368 kB / 1.305 GB, free: 38.24 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003873/1.347, allocations: 60.92 kB / 1.305 GB, free: 38.24 MB / 1.014 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.001699/1.348, allocations: 461.2 kB / 1.306 GB, free: 38.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.349, allocations: 247.2 kB / 1.306 GB, free: 38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/1.354, allocations: 1.5 MB / 1.307 GB, free: 37.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/1.354, allocations: 12.38 kB / 1.307 GB, free: 37.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.354, allocations: 0 / 1.307 GB, free: 37.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.354, allocations: 3.688 kB / 1.307 GB, free: 37.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009947/1.364, allocations: 3.605 MB / 1.311 GB, free: 37.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.364, allocations: 2.656 kB / 1.311 GB, free: 37.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/1.365, allocations: 128.2 kB / 1.311 GB, free: 37.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/1.366, allocations: 418.9 kB / 1.312 GB, free: 37.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-05/1.366, allocations: 24.55 kB / 1.312 GB, free: 37.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/1.369, allocations: 1.567 MB / 1.313 GB, free: 36.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.369, allocations: 3.594 kB / 1.313 GB, free: 36.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006858/1.376, allocations: 1.94 MB / 1.315 GB, free: 35.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.378, allocations: 491.1 kB / 1.315 GB, free: 35.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/1.379, allocations: 20.41 kB / 1.315 GB, free: 35.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.382, allocations: 134 kB / 1.316 GB, free: 35.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/1.382, allocations: 66.58 kB / 1.316 GB, free: 35.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.382, allocations: 41.12 kB / 1.316 GB, free: 35.39 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004134/1.386, allocations: 1.756 MB / 1.317 GB, free: 35.24 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.81e-07/1.386, allocations: 3.281 kB / 1.317 GB, free: 35.24 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004014/1.39, allocations: 0.6863 MB / 1.318 GB, free: 35.16 MB / 1.014 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.001752/1.392, allocations: 0.6161 MB / 1.319 GB, free: 34.96 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004358/1.396, allocations: 1.338 MB / 1.32 GB, free: 34.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.396, allocations: 2.531 kB / 1.32 GB, free: 34.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002397/1.399, allocations: 0.6613 MB / 1.321 GB, free: 34.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008298/1.407, allocations: 1.335 MB / 1.322 GB, free: 34.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007744/1.415, allocations: 3.54 MB / 1.325 GB, free: 33.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/1.416, allocations: 1.482 MB / 1.327 GB, free: 32.51 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002757/1.419, allocations: 444.5 kB / 1.327 GB, free: 32.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/1.42, allocations: 165.2 kB / 1.327 GB, free: 32.37 MB / 1.014 GB Notification: Performance of SimCode: time 1.483e-06/1.42, allocations: 2.188 kB / 1.327 GB, free: 32.37 MB / 1.014 GB Notification: Performance of Templates: time 0.07689/1.496, allocations: 49.56 MB / 1.376 GB, free: 232 kB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches