Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.CarnotVerifyEtaCarnot,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_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 110.1 kB / 16.37 MB, free: 5.539 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.001962/0.001962, allocations: 197.5 kB / 17.31 MB, free: 5.18 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.00167, allocations: 64.47 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3561, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.8376/1.194, allocations: 132.3 MB / 1.156 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04172/1.236, allocations: 23.22 MB / 1.179 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007005/1.243, allocations: 124.2 kB / 1.179 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005826/1.248, allocations: 1.496 MB / 1.18 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01622/1.265, allocations: 4.098 MB / 1.184 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006983/1.272, allocations: 2.169 MB / 1.186 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01234/1.284, allocations: 6.548 MB / 1.193 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004838/1.289, allocations: 2.359 MB / 1.195 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008709/1.298, allocations: 2.753 MB / 1.198 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004778/1.303, allocations: 1.88 MB / 1.199 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001514/1.304, allocations: 247.1 kB / 1.2 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007876/1.312, allocations: 1.948 MB / 1.202 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001725/1.314, allocations: 0.6047 MB / 1.202 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00473/1.319, allocations: 1.459 MB / 1.204 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/1.33, allocations: 4.353 MB / 1.208 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/1.33, allocations: 0 / 1.208 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.905e-06/1.33, allocations: 0 / 1.208 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001587/1.33, allocations: 0 / 1.208 GB, free: 8.352 MB / 0.9044 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.01177/1.342, allocations: 3.18 MB / 1.211 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.342, allocations: 11.97 kB / 1.211 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/1.347, allocations: 0.8405 MB / 1.212 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006173/1.353, allocations: 2.311 MB / 1.214 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/1.353, allocations: 131 kB / 1.214 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005025/1.354, allocations: 163.9 kB / 1.214 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005228/1.359, allocations: 1.926 MB / 1.216 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/1.359, allocations: 0 / 1.216 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/1.359, allocations: 64 kB / 1.216 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/1.359, allocations: 36 kB / 1.216 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005046/1.365, allocations: 1.803 MB / 1.218 GB, free: 13.66 MB / 0.92 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.01733/1.382, allocations: 8.989 MB / 1.227 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004358/1.386, allocations: 1.207 MB / 1.228 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/1.388, allocations: 465.5 kB / 1.229 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/1.389, allocations: 1.733 MB / 1.23 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.389, allocations: 38.5 kB / 1.23 GB, free: 232 kB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/1.389, allocations: 4 kB / 1.23 GB, free: 228 kB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.008778/1.398, allocations: 2.326 MB / 1.233 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/1.398, allocations: 89.11 kB / 1.233 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005145/1.403, allocations: 2.52 MB / 1.235 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002431/1.403, allocations: 41.7 kB / 1.235 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.404, allocations: 1.053 MB / 1.236 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/1.405, allocations: 276.1 kB / 1.236 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006586/1.406, allocations: 254.6 kB / 1.237 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.406, allocations: 345.9 kB / 1.237 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/1.407, allocations: 0.5725 MB / 1.238 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/1.41, allocations: 0.9543 MB / 1.238 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/1.413, allocations: 1.248 MB / 1.24 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.413, allocations: 0 / 1.24 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006759/1.419, allocations: 2.02 MB / 1.242 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/1.419, allocations: 8 kB / 1.242 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/1.42, allocations: 12 kB / 1.242 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/1.421, allocations: 497.7 kB / 1.242 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.423, allocations: 275.6 kB / 1.242 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/1.425, allocations: 1.526 MB / 1.244 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/1.428, allocations: 369.9 kB / 1.244 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/1.428, allocations: 59.97 kB / 1.244 GB, free: 1.363 MB / 0.9356 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001094/1.429, allocations: 462.7 kB / 1.245 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008021/1.43, allocations: 252.9 kB / 1.245 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/1.434, allocations: 1.505 MB / 1.246 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/1.434, allocations: 8 kB / 1.246 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.434, allocations: 0 / 1.246 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.434, allocations: 7.984 kB / 1.246 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008995/1.443, allocations: 3.616 MB / 1.25 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.443, allocations: 7.938 kB / 1.25 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/1.444, allocations: 132.1 kB / 1.25 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001767/1.446, allocations: 489.1 kB / 1.251 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.849e-05/1.446, allocations: 27.97 kB / 1.251 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/1.449, allocations: 1.577 MB / 1.252 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/1.449, allocations: 11.92 kB / 1.252 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00675/1.455, allocations: 1.939 MB / 1.254 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/1.457, allocations: 493.6 kB / 1.255 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009126/1.458, allocations: 15.91 kB / 1.255 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/1.461, allocations: 143.8 kB / 1.255 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.461, allocations: 55.94 kB / 1.255 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.461, allocations: 43.95 kB / 1.255 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004376/1.466, allocations: 1.769 MB / 1.257 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.5e-07/1.466, allocations: 4 kB / 1.257 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003162/1.469, allocations: 0.6945 MB / 1.257 GB, free: 3.859 MB / 0.9512 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.001629/1.47, allocations: 0.6113 MB / 1.258 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004344/1.475, allocations: 1.349 MB / 1.259 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.475, allocations: 4 kB / 1.259 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002409/1.477, allocations: 0.6747 MB / 1.26 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007246/1.484, allocations: 1.323 MB / 1.261 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008055/1.493, allocations: 3.557 MB / 1.265 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.494, allocations: 1.49 MB / 1.266 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002376/1.496, allocations: 431.8 kB / 1.266 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006932/1.497, allocations: 171.3 kB / 1.267 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of SimCode: time 9.22e-07/1.497, allocations: 4 kB / 1.267 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of Templates: time 0.1108/1.608, allocations: 48.39 MB / 1.314 GB, free: 10.39 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches