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.009556/0.009564, allocations: 103.2 kB / 15.74 MB, free: 6.449 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.002162/0.002162, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.594/2.594, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 62.73 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1381/0.4555, allocations: 132.2 MB / 1.217 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03776/0.4933, allocations: 23.22 MB / 1.24 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006117/0.4995, allocations: 127.2 kB / 1.24 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005589/0.5051, allocations: 1.529 MB / 1.241 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01617/0.5213, allocations: 4.318 MB / 1.246 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007625/0.529, allocations: 2.177 MB / 1.248 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01127/0.5403, allocations: 6.549 MB / 1.254 GB, free: 6.805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005755/0.5461, allocations: 2.359 MB / 1.256 GB, free: 4.383 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009235/0.5554, allocations: 2.815 MB / 1.259 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7516/1.307, allocations: 1.885 MB / 1.261 GB, free: 51.1 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001075/1.308, allocations: 247 kB / 1.261 GB, free: 51.1 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007235/1.315, allocations: 1.935 MB / 1.263 GB, free: 51.1 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008528/1.316, allocations: 0.5982 MB / 1.264 GB, free: 51.1 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002732/1.319, allocations: 1.456 MB / 1.265 GB, free: 51.1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009699/1.329, allocations: 4.37 MB / 1.269 GB, free: 50.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.329, allocations: 0 / 1.269 GB, free: 50.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.284e-06/1.329, allocations: 1.438 kB / 1.269 GB, free: 50.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001307/1.329, allocations: 3.5 kB / 1.269 GB, free: 50.84 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.009311/1.338, allocations: 3.269 MB / 1.273 GB, free: 49.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.338, allocations: 9.75 kB / 1.273 GB, free: 49.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005909/1.344, allocations: 0.8522 MB / 1.273 GB, free: 49.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007218/1.351, allocations: 2.363 MB / 1.276 GB, free: 48.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/1.352, allocations: 123.7 kB / 1.276 GB, free: 48.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005618/1.352, allocations: 161.9 kB / 1.276 GB, free: 48.51 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005446/1.358, allocations: 1.921 MB / 1.278 GB, free: 48.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/1.358, allocations: 4 kB / 1.278 GB, free: 48.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/1.358, allocations: 66.06 kB / 1.278 GB, free: 48.28 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/1.358, allocations: 38.75 kB / 1.278 GB, free: 48.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005578/1.364, allocations: 1.782 MB / 1.28 GB, free: 48.24 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.01766/1.381, allocations: 8.984 MB / 1.288 GB, free: 43.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/1.386, allocations: 1.194 MB / 1.29 GB, free: 43.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/1.387, allocations: 465.2 kB / 1.29 GB, free: 43.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009208/1.388, allocations: 1.72 MB / 1.292 GB, free: 41.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.388, allocations: 45.53 kB / 1.292 GB, free: 41.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.787e-06/1.388, allocations: 0 / 1.292 GB, free: 41.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.00974/1.398, allocations: 2.338 MB / 1.294 GB, free: 41.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/1.398, allocations: 88.17 kB / 1.294 GB, free: 41.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005132/1.403, allocations: 2.502 MB / 1.297 GB, free: 41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002871/1.404, allocations: 47.7 kB / 1.297 GB, free: 40.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008985/1.404, allocations: 1.043 MB / 1.298 GB, free: 40.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/1.405, allocations: 286.2 kB / 1.298 GB, free: 40.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004795/1.405, allocations: 254 kB / 1.298 GB, free: 40.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/1.405, allocations: 349.4 kB / 1.299 GB, free: 40.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/1.407, allocations: 0.5688 MB / 1.299 GB, free: 40.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/1.409, allocations: 0.9544 MB / 1.3 GB, free: 39.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/1.412, allocations: 1.254 MB / 1.301 GB, free: 39.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.412, allocations: 2.344 kB / 1.301 GB, free: 39.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007247/1.42, allocations: 2.031 MB / 1.303 GB, free: 39.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/1.42, allocations: 7.656 kB / 1.303 GB, free: 39.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/1.42, allocations: 16.97 kB / 1.303 GB, free: 39.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/1.421, allocations: 416.2 kB / 1.304 GB, free: 39.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.423, allocations: 288.3 kB / 1.304 GB, free: 39.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/1.425, allocations: 1.501 MB / 1.305 GB, free: 38.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/1.428, allocations: 376.7 kB / 1.306 GB, free: 37.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/1.428, allocations: 56.94 kB / 1.306 GB, free: 37.98 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.001161/1.43, allocations: 465 kB / 1.306 GB, free: 37.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007744/1.43, allocations: 256 kB / 1.307 GB, free: 37.72 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/1.434, allocations: 1.492 MB / 1.308 GB, free: 37.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/1.434, allocations: 21.33 kB / 1.308 GB, free: 37.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.434, allocations: 4.688 kB / 1.308 GB, free: 37.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.434, allocations: 3.859 kB / 1.308 GB, free: 37.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008505/1.443, allocations: 3.605 MB / 1.312 GB, free: 36.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.443, allocations: 7.875 kB / 1.312 GB, free: 36.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/1.444, allocations: 124.8 kB / 1.312 GB, free: 36.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/1.445, allocations: 419.3 kB / 1.312 GB, free: 36.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-05/1.445, allocations: 26.98 kB / 1.312 GB, free: 36.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/1.448, allocations: 1.574 MB / 1.314 GB, free: 35.87 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.448, allocations: 2.75 kB / 1.314 GB, free: 35.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006874/1.455, allocations: 1.943 MB / 1.316 GB, free: 35.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00249/1.457, allocations: 0.4978 MB / 1.316 GB, free: 35.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001561/1.459, allocations: 17.41 kB / 1.316 GB, free: 35.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/1.462, allocations: 139 kB / 1.316 GB, free: 35.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.462, allocations: 60.95 kB / 1.316 GB, free: 35.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.462, allocations: 43.27 kB / 1.316 GB, free: 35.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005284/1.468, allocations: 1.756 MB / 1.318 GB, free: 34.94 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.61e-07/1.468, allocations: 0 / 1.318 GB, free: 34.94 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004257/1.472, allocations: 0.6928 MB / 1.319 GB, free: 34.86 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.001543/1.474, allocations: 0.6227 MB / 1.319 GB, free: 34.65 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004216/1.478, allocations: 1.343 MB / 1.321 GB, free: 34.62 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.478, allocations: 0 / 1.321 GB, free: 34.62 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/1.48, allocations: 0.6622 MB / 1.321 GB, free: 34.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008853/1.489, allocations: 1.33 MB / 1.323 GB, free: 34.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008293/1.497, allocations: 3.607 MB / 1.326 GB, free: 32.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/1.499, allocations: 1.49 MB / 1.327 GB, free: 32.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002785/1.502, allocations: 435.5 kB / 1.328 GB, free: 32.05 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000819/1.502, allocations: 172.6 kB / 1.328 GB, free: 32.04 MB / 1.014 GB Notification: Performance of SimCode: time 2.074e-06/1.502, allocations: 0 / 1.328 GB, free: 32.04 MB / 1.014 GB Notification: Performance of Templates: time 0.07943/1.582, allocations: 48.59 MB / 1.376 GB, free: 0.7109 MB / 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