Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001043/0.001043, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001618/0.001618, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.051/1.051, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.265/2.265, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.045e-05, allocations: 2.859 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.02396/0.024, allocations: 32.5 MB / 0.9111 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.04091, allocations: 10.76 MB / 0.9216 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003655/0.04457, allocations: 190.4 kB / 0.9218 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.04624, allocations: 0.7906 MB / 0.9226 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006261/0.0525, allocations: 2.692 MB / 0.9252 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004916/0.05742, allocations: 2.696 MB / 0.9279 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.007612/0.06503, allocations: 6.64 MB / 0.9343 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/0.06746, allocations: 1.892 MB / 0.9362 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004752/0.07221, allocations: 3.434 MB / 0.9395 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/0.07398, allocations: 1.569 MB / 0.9411 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.07425, allocations: 244 kB / 0.9413 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.07538, allocations: 0.7137 MB / 0.942 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0006701/0.07605, allocations: 0.6378 MB / 0.9426 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0008826/0.07693, allocations: 0.9975 MB / 0.9436 GB, free: 4.07 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.07942, allocations: 2.433 MB / 0.946 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.07943, allocations: 0 / 0.946 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.453e-06/0.07943, allocations: 0 / 0.946 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.73e-05/0.07945, allocations: 0 / 0.946 GB, free: 1.629 MB / 0.9011 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.003306/0.08276, allocations: 3.285 MB / 0.9492 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001188/0.08288, allocations: 12.03 kB / 0.9492 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.08483, allocations: 0.8491 MB / 0.95 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.08708, allocations: 2.311 MB / 0.9523 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.08716, allocations: 131 kB / 0.9524 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.08745, allocations: 176 kB / 0.9526 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.08902, allocations: 1.323 MB / 0.9539 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.08905, allocations: 3.938 kB / 0.9539 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.08915, allocations: 68 kB / 0.9539 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.08917, allocations: 40 kB / 0.954 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007752/0.08995, allocations: 0.5579 MB / 0.9545 GB, free: 8.613 MB / 0.9167 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.006079/0.09602, allocations: 6.218 MB / 0.9606 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.09713, allocations: 0.6164 MB / 0.9612 GB, free: 1.602 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.09732, allocations: 183.1 kB / 0.9614 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.737e-05/0.09742, allocations: 39.98 kB / 0.9614 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.09745, allocations: 45.39 kB / 0.9614 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 2.846e-06/0.09745, allocations: 0 / 0.9614 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.002648/0.1001, allocations: 1.272 MB / 0.9627 GB, free: 32 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1001, allocations: 85.11 kB / 0.9628 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.1019, allocations: 1.766 MB / 0.9645 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/0.102, allocations: 53.7 kB / 0.9645 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.1026, allocations: 1.202 MB / 0.9657 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.1028, allocations: 289.5 kB / 0.966 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.1031, allocations: 324.2 kB / 0.9663 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1033, allocations: 0.5315 MB / 0.9668 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.1036, allocations: 170.5 kB / 0.967 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008827/0.1045, allocations: 1.665 MB / 0.9686 GB, free: 9.348 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.1057, allocations: 1.13 MB / 0.9697 GB, free: 7.906 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.1057, allocations: 4 kB / 0.9697 GB, free: 7.902 MB / 0.9323 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002634/0.1083, allocations: 1.468 MB / 0.9712 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1083, allocations: 12 kB / 0.9712 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.1083, allocations: 16 kB / 0.9712 GB, free: 6.391 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006998/0.109, allocations: 343 kB / 0.9715 GB, free: 6.047 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.1096, allocations: 307.5 kB / 0.9718 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009154/0.1105, allocations: 1.818 MB / 0.9736 GB, free: 3.863 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009432/0.1115, allocations: 258.9 kB / 0.9738 GB, free: 3.609 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/0.1116, allocations: 71.97 kB / 0.9739 GB, free: 3.539 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (141): * Single equations (assignments): 139 * 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,8), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003989/0.112, allocations: 252.1 kB / 0.9741 GB, free: 3.281 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.1122, allocations: 246.5 kB / 0.9744 GB, free: 3.039 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/0.115, allocations: 0.8696 MB / 0.9752 GB, free: 2.148 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.115, allocations: 12 kB / 0.9752 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.115, allocations: 4 kB / 0.9752 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.115, allocations: 3.984 kB / 0.9752 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.1184, allocations: 2.233 MB / 0.9774 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.1184, allocations: 4.375 kB / 0.9774 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.1187, allocations: 115.8 kB / 0.9775 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006866/0.1194, allocations: 332.9 kB / 0.9778 GB, free: 15.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.1194, allocations: 23.98 kB / 0.9779 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.1205, allocations: 1.842 MB / 0.9797 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.1205, allocations: 11.88 kB / 0.9797 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.1224, allocations: 1.33 MB / 0.981 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/0.1229, allocations: 380 kB / 0.9813 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.123, allocations: 23.95 kB / 0.9814 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.1236, allocations: 75.88 kB / 0.9814 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.1237, allocations: 59.83 kB / 0.9815 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.1237, allocations: 35.97 kB / 0.9815 GB, free: 11.44 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008351/0.1246, allocations: 0.9824 MB / 0.9825 GB, free: 10.44 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1246, allocations: 0 / 0.9825 GB, free: 10.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001232/0.1258, allocations: 0.6042 MB / 0.9831 GB, free: 9.836 MB / 0.948 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003232/0.1261, allocations: 218.8 kB / 0.9833 GB, free: 9.609 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.1273, allocations: 0.7048 MB / 0.984 GB, free: 8.898 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1273, allocations: 5 kB / 0.984 GB, free: 8.895 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.1279, allocations: 374.8 kB / 0.9843 GB, free: 8.527 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.1301, allocations: 0.9097 MB / 0.9852 GB, free: 7.625 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.134, allocations: 3.361 MB / 0.9885 GB, free: 4.16 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1342, allocations: 378.5 kB / 0.9889 GB, free: 3.762 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008757/0.1351, allocations: 328.6 kB / 0.9892 GB, free: 3.438 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.1364, allocations: 0.771 MB / 0.9899 GB, free: 2.664 MB / 0.948 GB Notification: Performance of SimCode: time 1.192e-06/0.1364, allocations: 0 / 0.9899 GB, free: 2.664 MB / 0.948 GB Notification: Performance of Templates: time 0.04536/0.1817, allocations: 39.29 MB / 1.028 GB, free: 12.26 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.756473733112216]