Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002529/0.002529, allocations: 161.3 kB / 23.54 MB, free: 0.8594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.61/1.61, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.932/2.932, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,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_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,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_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.405e-05, allocations: 7.25 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1839/0.1839, allocations: 120.8 MB / 0.9288 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.04472/0.2286, allocations: 21.64 MB / 0.9499 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006822/0.2355, allocations: 170.5 kB / 0.9501 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.007177/0.2426, allocations: 1.506 MB / 0.9516 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01916/0.2618, allocations: 4.464 MB / 0.9559 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00819/0.27, allocations: 2.279 MB / 0.9581 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.01409/0.2841, allocations: 6.686 MB / 0.9647 GB, free: 4.094 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006037/0.2901, allocations: 1.884 MB / 0.9665 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01475/0.3049, allocations: 4.085 MB / 0.9705 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005112/0.31, allocations: 1.604 MB / 0.9721 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0008997/0.3109, allocations: 244 kB / 0.9723 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.3166, allocations: 1.609 MB / 0.9739 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.318, allocations: 0.6261 MB / 0.9745 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002847/0.3208, allocations: 0.9741 MB / 0.9754 GB, free: 9.008 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.3316, allocations: 4.417 MB / 0.9797 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3316, allocations: 0 / 0.9797 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3316, allocations: 0 / 0.9797 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001123/0.3317, allocations: 0 / 0.9797 GB, free: 4.578 MB / 0.9323 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.008114/0.3398, allocations: 3.171 MB / 0.9828 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.3399, allocations: 8.031 kB / 0.9828 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005287/0.3451, allocations: 0.9937 MB / 0.9838 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006871/0.352, allocations: 2.487 MB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.3522, allocations: 123 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003693/0.3526, allocations: 168 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00526/0.3578, allocations: 1.998 MB / 0.9885 GB, free: 11.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.3579, allocations: 4 kB / 0.9885 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.358, allocations: 64 kB / 0.9885 GB, free: 11.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/0.3581, allocations: 40 kB / 0.9886 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00528/0.3634, allocations: 1.776 MB / 0.9903 GB, free: 9.516 MB / 0.948 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.01523/0.3786, allocations: 6.229 MB / 0.9964 GB, free: 3.148 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00489/0.3835, allocations: 1.132 MB / 0.9975 GB, free: 2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.3848, allocations: 429.4 kB / 0.9979 GB, free: 1.574 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/0.3853, allocations: 163.6 kB / 0.9981 GB, free: 1.414 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.3854, allocations: 50.5 kB / 0.9981 GB, free: 1.355 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/0.3854, allocations: 4 kB / 0.9981 GB, free: 1.352 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.01014/0.3955, allocations: 2.154 MB / 1 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3957, allocations: 92.84 kB / 1 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004722/0.4004, allocations: 1.989 MB / 1.002 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.4006, allocations: 49.7 kB / 1.002 GB, free: 13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.4019, allocations: 1.095 MB / 1.003 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/0.4024, allocations: 277.6 kB / 1.004 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005407/0.4029, allocations: 250.8 kB / 1.004 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.4031, allocations: 349.9 kB / 1.004 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.4051, allocations: 0.5686 MB / 1.005 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.4082, allocations: 1.607 MB / 1.006 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/0.412, allocations: 1.257 MB / 1.008 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.412, allocations: 4 kB / 1.008 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.008467/0.4205, allocations: 2.015 MB / 1.01 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.4205, allocations: 8 kB / 1.01 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.4206, allocations: 11.94 kB / 1.01 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.4226, allocations: 429.7 kB / 1.01 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.424, allocations: 279.6 kB / 1.01 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.4268, allocations: 1.514 MB / 1.012 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.4298, allocations: 291.2 kB / 1.012 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.43, allocations: 59.97 kB / 1.012 GB, free: 2.512 MB / 0.9636 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.001458/0.4315, allocations: 461.5 kB / 1.012 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/0.4326, allocations: 226.7 kB / 1.013 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004863/0.4374, allocations: 1.474 MB / 1.014 GB, free: 340 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/0.4375, allocations: 12 kB / 1.014 GB, free: 328 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.4375, allocations: 0 / 1.014 GB, free: 328 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.4375, allocations: 7.922 kB / 1.014 GB, free: 320 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.4483, allocations: 3.169 MB / 1.017 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/0.4483, allocations: 4.375 kB / 1.017 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.4491, allocations: 135.8 kB / 1.017 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/0.451, allocations: 411.8 kB / 1.018 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.4511, allocations: 27.98 kB / 1.018 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.4544, allocations: 1.582 MB / 1.019 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.745e-05/0.4545, allocations: 8.062 kB / 1.019 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007884/0.4623, allocations: 1.918 MB / 1.021 GB, free: 8.867 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/0.4643, allocations: 372.2 kB / 1.022 GB, free: 8.504 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007361/0.465, allocations: 19.98 kB / 1.022 GB, free: 8.484 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/0.4671, allocations: 119.9 kB / 1.022 GB, free: 8.367 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.4672, allocations: 63.77 kB / 1.022 GB, free: 8.305 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.4674, allocations: 43.97 kB / 1.022 GB, free: 8.262 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004301/0.4717, allocations: 1.38 MB / 1.023 GB, free: 6.863 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.4717, allocations: 0 / 1.023 GB, free: 6.863 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003678/0.4754, allocations: 0.7442 MB / 1.024 GB, free: 6.117 MB / 0.9792 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.001878/0.4772, allocations: 0.6111 MB / 1.024 GB, free: 5.496 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005254/0.4825, allocations: 1.306 MB / 1.026 GB, free: 4.191 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.4825, allocations: 0 / 1.026 GB, free: 4.191 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.4853, allocations: 0.6514 MB / 1.026 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005882/0.4912, allocations: 0.9154 MB / 1.027 GB, free: 2.641 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.5014, allocations: 3.593 MB / 1.031 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/0.5034, allocations: 0.9194 MB / 1.032 GB, free: 14 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002416/0.5058, allocations: 363.7 kB / 1.032 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/0.5065, allocations: 140.5 kB / 1.032 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of SimCode: time 2.104e-06/0.5065, allocations: 0 / 1.032 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of Templates: time 0.5223/1.029, allocations: 40.77 MB / 1.072 GB, free: 266.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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: 10.736154298996553]