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.002057/0.002057, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.003039/0.003039, allocations: 173 kB / 23.49 MB, free: 1.059 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.102/1.102, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.141/2.141, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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 1.463e-06/1.463e-06, allocations: 0 / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.637e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.09514/0.09516, allocations: 138.2 MB / 1.013 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0258/0.121, allocations: 25.1 MB / 1.038 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/0.1247, allocations: 186.4 kB / 1.038 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003305/0.128, allocations: 1.509 MB / 1.039 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.008571/0.1366, allocations: 4.518 MB / 1.044 GB, free: 12.57 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.1407, allocations: 2.792 MB / 1.046 GB, free: 9.777 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.006096/0.1468, allocations: 6.8 MB / 1.053 GB, free: 2.953 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.1491, allocations: 1.896 MB / 1.055 GB, free: 1 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4441/0.5932, allocations: 4.192 MB / 1.059 GB, free: 94.63 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.5955, allocations: 1.654 MB / 1.061 GB, free: 94.63 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.5959, allocations: 256.6 kB / 1.061 GB, free: 94.63 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.5984, allocations: 1.614 MB / 1.062 GB, free: 94.63 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004473/0.5989, allocations: 0.6549 MB / 1.063 GB, free: 94.63 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.6, allocations: 1.02 MB / 1.064 GB, free: 94.63 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.6034, allocations: 3.103 MB / 1.067 GB, free: 94.54 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6034, allocations: 6.75 kB / 1.067 GB, free: 94.54 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6034, allocations: 0 / 1.067 GB, free: 94.54 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.6035, allocations: 0.5312 kB / 1.067 GB, free: 94.54 MB / 1.01 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.003091/0.6065, allocations: 3.418 MB / 1.071 GB, free: 92.87 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.6066, allocations: 9.438 kB / 1.071 GB, free: 92.87 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.6084, allocations: 0.8568 MB / 1.071 GB, free: 92.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.6107, allocations: 2.513 MB / 1.074 GB, free: 92.1 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.6108, allocations: 139 kB / 1.074 GB, free: 92.09 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.611, allocations: 175.8 kB / 1.074 GB, free: 92.09 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.6126, allocations: 1.443 MB / 1.076 GB, free: 91.74 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.6127, allocations: 3.281 kB / 1.076 GB, free: 91.74 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.6128, allocations: 64.19 kB / 1.076 GB, free: 91.74 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.6128, allocations: 37.09 kB / 1.076 GB, free: 91.74 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.6139, allocations: 0.6868 MB / 1.076 GB, free: 91.71 MB / 1.01 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.005288/0.6192, allocations: 6.543 MB / 1.083 GB, free: 89.07 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.6206, allocations: 0.7034 MB / 1.083 GB, free: 88.98 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.6209, allocations: 194.9 kB / 1.084 GB, free: 88.96 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.6212, allocations: 168 kB / 1.084 GB, free: 88.95 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.6212, allocations: 46.2 kB / 1.084 GB, free: 88.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 2.164e-06/0.6212, allocations: 0 / 1.084 GB, free: 88.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.00278/0.624, allocations: 1.353 MB / 1.085 GB, free: 88.68 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.624, allocations: 89.11 kB / 1.085 GB, free: 88.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.626, allocations: 1.836 MB / 1.087 GB, free: 88.26 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.626, allocations: 48.08 kB / 1.087 GB, free: 88.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.6266, allocations: 1.189 MB / 1.088 GB, free: 87.77 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.6268, allocations: 289.8 kB / 1.088 GB, free: 87.58 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000416/0.6272, allocations: 315.8 kB / 1.089 GB, free: 87.55 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6273, allocations: 0.5291 MB / 1.089 GB, free: 87.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.6277, allocations: 187.2 kB / 1.089 GB, free: 87.06 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008048/0.6285, allocations: 1.683 MB / 1.091 GB, free: 85.21 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.6296, allocations: 1.163 MB / 1.092 GB, free: 84.31 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.6296, allocations: 4.469 kB / 1.092 GB, free: 84.31 MB / 1.01 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002992/0.6326, allocations: 1.541 MB / 1.094 GB, free: 84.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.6326, allocations: 15.16 kB / 1.094 GB, free: 84.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.6327, allocations: 18.5 kB / 1.094 GB, free: 84.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008387/0.6335, allocations: 345.4 kB / 1.094 GB, free: 84.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.6342, allocations: 311.5 kB / 1.094 GB, free: 84.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008073/0.635, allocations: 1.836 MB / 1.096 GB, free: 82.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.6359, allocations: 234.4 kB / 1.096 GB, free: 82.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.6361, allocations: 84.17 kB / 1.096 GB, free: 82.37 MB / 1.01 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 (142): * Single equations (assignments): 140 * 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.0003579/0.6364, allocations: 248.6 kB / 1.097 GB, free: 82.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.6367, allocations: 254.8 kB / 1.097 GB, free: 82.08 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.638, allocations: 0.936 MB / 1.098 GB, free: 81.93 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.638, allocations: 12.17 kB / 1.098 GB, free: 81.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.638, allocations: 1.406 kB / 1.098 GB, free: 81.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.638, allocations: 9.344 kB / 1.098 GB, free: 81.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.6413, allocations: 2.622 MB / 1.1 GB, free: 81.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.6413, allocations: 3.406 kB / 1.1 GB, free: 81.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.6415, allocations: 116 kB / 1.101 GB, free: 81.26 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006451/0.6422, allocations: 335.8 kB / 1.101 GB, free: 81.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.6422, allocations: 26.56 kB / 1.101 GB, free: 81.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008332/0.6431, allocations: 1.862 MB / 1.103 GB, free: 79.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6431, allocations: 6.938 kB / 1.103 GB, free: 79.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.6452, allocations: 1.409 MB / 1.104 GB, free: 78.97 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.6456, allocations: 375.7 kB / 1.104 GB, free: 78.84 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.6458, allocations: 22.17 kB / 1.104 GB, free: 78.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.6463, allocations: 77.86 kB / 1.105 GB, free: 78.83 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.6464, allocations: 62.98 kB / 1.105 GB, free: 78.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.6465, allocations: 39.83 kB / 1.105 GB, free: 78.83 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001262/0.6477, allocations: 1.083 MB / 1.106 GB, free: 78.64 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6477, allocations: 1.094 kB / 1.106 GB, free: 78.64 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001707/0.6494, allocations: 0.7592 MB / 1.106 GB, free: 78.51 MB / 1.01 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.0008084/0.6502, allocations: 0.6032 MB / 1.107 GB, free: 78.31 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.6517, allocations: 0.7539 MB / 1.108 GB, free: 78.28 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6517, allocations: 0.8125 kB / 1.108 GB, free: 78.28 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.6524, allocations: 393.1 kB / 1.108 GB, free: 78.25 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.6548, allocations: 0.916 MB / 1.109 GB, free: 78.12 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.6588, allocations: 3.382 MB / 1.112 GB, free: 76.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.6591, allocations: 379.5 kB / 1.113 GB, free: 76.29 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009808/0.6601, allocations: 371.3 kB / 1.113 GB, free: 76.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.6604, allocations: 145.2 kB / 1.113 GB, free: 76.16 MB / 1.01 GB Notification: Performance of SimCode: time 1.153e-06/0.6604, allocations: 0 / 1.113 GB, free: 76.16 MB / 1.01 GB Notification: Performance of Templates: time 0.05076/0.7112, allocations: 41.35 MB / 1.154 GB, free: 68.57 MB / 1.01 GB " [Timeout remaining time 299] 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: 7.169917938997969]