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.001366/0.001366, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001486/0.001486, allocations: 187 kB / 17.34 MB, free: 5.719 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.318/2.318, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9076/0.9092, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1314/1.041, allocations: 132.2 MB / 1.218 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03188/1.072, allocations: 23.24 MB / 1.24 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005629/1.078, allocations: 124.4 kB / 1.241 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.007068/1.085, allocations: 1.484 MB / 1.242 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01953/1.105, allocations: 4.101 MB / 1.246 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/1.115, allocations: 2.179 MB / 1.248 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01647/1.131, allocations: 6.525 MB / 1.255 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006223/1.138, allocations: 2.366 MB / 1.257 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/1.149, allocations: 2.798 MB / 1.26 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/1.153, allocations: 1.884 MB / 1.261 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007576/1.153, allocations: 248 kB / 1.262 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/1.159, allocations: 1.942 MB / 1.264 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007143/1.159, allocations: 0.5954 MB / 1.264 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002151/1.161, allocations: 1.462 MB / 1.266 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007218/1.169, allocations: 4.349 MB / 1.27 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.169, allocations: 0 / 1.27 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/1.169, allocations: 0 / 1.27 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.619e-05/1.169, allocations: 3.938 kB / 1.27 GB, free: 4.176 MB / 0.9981 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.005967/1.175, allocations: 3.183 MB / 1.273 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.175, allocations: 8.031 kB / 1.273 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004478/1.179, allocations: 0.8318 MB / 1.274 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004809/1.184, allocations: 2.334 MB / 1.276 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/1.184, allocations: 127 kB / 1.276 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/1.185, allocations: 163.9 kB / 1.276 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004254/1.189, allocations: 1.923 MB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/1.189, allocations: 0 / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/1.189, allocations: 67.94 kB / 1.278 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/1.189, allocations: 40 kB / 1.278 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004646/1.194, allocations: 1.788 MB / 1.28 GB, free: 9.484 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.01385/1.208, allocations: 8.965 MB / 1.289 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/1.212, allocations: 1.197 MB / 1.29 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/1.213, allocations: 469.2 kB / 1.29 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/1.214, allocations: 1.719 MB / 1.292 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/1.214, allocations: 50.44 kB / 1.292 GB, free: 12.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.815e-06/1.214, allocations: 3.938 kB / 1.292 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.009806/1.224, allocations: 2.32 MB / 1.294 GB, free: 9.699 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/1.224, allocations: 89.11 kB / 1.294 GB, free: 9.594 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005455/1.23, allocations: 2.496 MB / 1.297 GB, free: 7.078 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/1.23, allocations: 45.7 kB / 1.297 GB, free: 7.027 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/1.231, allocations: 1.041 MB / 1.298 GB, free: 5.977 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004547/1.232, allocations: 264.2 kB / 1.298 GB, free: 5.715 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006523/1.232, allocations: 254.6 kB / 1.298 GB, free: 5.457 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.233, allocations: 349.9 kB / 1.299 GB, free: 5.109 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/1.234, allocations: 0.5724 MB / 1.299 GB, free: 4.539 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/1.237, allocations: 0.9582 MB / 1.3 GB, free: 3.426 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/1.24, allocations: 1.248 MB / 1.301 GB, free: 2.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/1.24, allocations: 4 kB / 1.301 GB, free: 2.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007132/1.247, allocations: 2.012 MB / 1.303 GB, free: 36 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/1.247, allocations: 10.5 kB / 1.303 GB, free: 28 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/1.247, allocations: 8 kB / 1.303 GB, free: 20 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/1.249, allocations: 425.8 kB / 1.304 GB, free: 15.6 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.25, allocations: 279.6 kB / 1.304 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/1.253, allocations: 1.503 MB / 1.306 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/1.256, allocations: 366 kB / 1.306 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/1.256, allocations: 67.95 kB / 1.306 GB, free: 13.34 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 (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.000979/1.257, allocations: 457.5 kB / 1.306 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/1.257, allocations: 248.9 kB / 1.307 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/1.261, allocations: 1.49 MB / 1.308 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.262, allocations: 12 kB / 1.308 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.262, allocations: 0 / 1.308 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.262, allocations: 11.97 kB / 1.308 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008562/1.27, allocations: 3.6 MB / 1.312 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.27, allocations: 4.031 kB / 1.312 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/1.271, allocations: 139.7 kB / 1.312 GB, free: 7.258 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/1.272, allocations: 423.9 kB / 1.312 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/1.272, allocations: 23.98 kB / 1.312 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/1.275, allocations: 1.573 MB / 1.314 GB, free: 5.191 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.275, allocations: 4 kB / 1.314 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0066/1.282, allocations: 1.935 MB / 1.316 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/1.284, allocations: 489.6 kB / 1.316 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007899/1.284, allocations: 23.91 kB / 1.316 GB, free: 2.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/1.287, allocations: 139.8 kB / 1.316 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.287, allocations: 55.86 kB / 1.316 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.287, allocations: 43.97 kB / 1.316 GB, free: 2.426 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004022/1.291, allocations: 1.753 MB / 1.318 GB, free: 0.668 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.254e-06/1.291, allocations: 0 / 1.318 GB, free: 0.668 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003/1.294, allocations: 0.6867 MB / 1.319 GB, free: 15.98 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 (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.001643/1.296, allocations: 0.6003 MB / 1.319 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004568/1.3, allocations: 1.35 MB / 1.321 GB, free: 14.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.3, allocations: 4.062 kB / 1.321 GB, free: 14.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002497/1.303, allocations: 0.664 MB / 1.321 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007065/1.31, allocations: 1.334 MB / 1.323 GB, free: 12.05 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007897/1.318, allocations: 3.57 MB / 1.326 GB, free: 8.398 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/1.319, allocations: 1.478 MB / 1.328 GB, free: 6.887 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/1.32, allocations: 187.4 kB / 1.328 GB, free: 6.703 MB / 1.061 GB Notification: Performance of SimCode: time 9.72e-07/1.32, allocations: 3.938 kB / 1.328 GB, free: 6.699 MB / 1.061 GB Notification: Performance of Templates: time 0.08219/1.402, allocations: 62.58 MB / 1.389 GB, free: 8.453 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches