Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 104.6 kB / 16.41 MB, free: 6.512 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.001853/0.001853, allocations: 187 kB / 17.34 MB, free: 5.742 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.89 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8934, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06527/0.9588, allocations: 61.2 MB / 1.268 GB, free: 188 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01833/0.9771, allocations: 11.98 MB / 1.28 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.9796, allocations: 63.62 kB / 1.28 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.982, allocations: 0.6869 MB / 1.281 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006202/0.9883, allocations: 1.963 MB / 1.283 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.9918, allocations: 1.207 MB / 1.284 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004878/0.9967, allocations: 3.09 MB / 1.287 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.9988, allocations: 1.099 MB / 1.288 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/1.002, allocations: 1.358 MB / 1.289 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/1.004, allocations: 0.8921 MB / 1.29 GB, free: 9.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004271/1.005, allocations: 112 kB / 1.29 GB, free: 9.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/1.008, allocations: 1.447 MB / 1.292 GB, free: 8.211 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005171/1.009, allocations: 298.8 kB / 1.292 GB, free: 7.918 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/1.01, allocations: 0.688 MB / 1.292 GB, free: 7.227 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004887/1.015, allocations: 2.3 MB / 1.295 GB, free: 4.922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.015, allocations: 0 / 1.295 GB, free: 4.922 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.015, allocations: 0 / 1.295 GB, free: 4.922 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.019e-05/1.015, allocations: 0 / 1.295 GB, free: 4.922 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004023/1.019, allocations: 1.726 MB / 1.296 GB, free: 3.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.019, allocations: 8.031 kB / 1.296 GB, free: 3.125 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/1.022, allocations: 406.8 kB / 1.297 GB, free: 2.727 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/1.025, allocations: 1.163 MB / 1.298 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/1.025, allocations: 62 kB / 1.298 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.025, allocations: 80 kB / 1.298 GB, free: 1.367 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/1.027, allocations: 1.001 MB / 1.299 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.027, allocations: 7.875 kB / 1.299 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/1.027, allocations: 32 kB / 1.299 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/1.027, allocations: 20 kB / 1.299 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/1.029, allocations: 0.8469 MB / 1.3 GB, free: 15.4 MB / 1.029 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.007433/1.037, allocations: 5.218 MB / 1.305 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003385/1.04, allocations: 0.7842 MB / 1.306 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/1.041, allocations: 290.5 kB / 1.306 GB, free: 8.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/1.042, allocations: 0.9103 MB / 1.307 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.042, allocations: 38.56 kB / 1.307 GB, free: 7.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/1.042, allocations: 0 / 1.307 GB, free: 7.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.007264/1.049, allocations: 1.692 MB / 1.309 GB, free: 5.848 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.049, allocations: 63.34 kB / 1.309 GB, free: 5.773 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/1.051, allocations: 1.076 MB / 1.31 GB, free: 4.684 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/1.051, allocations: 37.7 kB / 1.31 GB, free: 4.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/1.051, allocations: 0.5273 MB / 1.31 GB, free: 4.109 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/1.051, allocations: 153.8 kB / 1.31 GB, free: 3.957 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/1.052, allocations: 138.1 kB / 1.311 GB, free: 3.812 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.052, allocations: 337.9 kB / 1.311 GB, free: 3.477 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/1.053, allocations: 299.3 kB / 1.311 GB, free: 3.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/1.054, allocations: 0.529 MB / 1.312 GB, free: 2.555 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/1.055, allocations: 0.7135 MB / 1.312 GB, free: 1.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.055, allocations: 0 / 1.312 GB, free: 1.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002745/1.058, allocations: 1.012 MB / 1.313 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.058, allocations: 8 kB / 1.313 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.058, allocations: 4 kB / 1.313 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/1.06, allocations: 308.6 kB / 1.314 GB, free: 440 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/1.06, allocations: 135.8 kB / 1.314 GB, free: 304 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/1.062, allocations: 0.8918 MB / 1.315 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.063, allocations: 151.2 kB / 1.315 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/1.063, allocations: 31.98 kB / 1.315 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001241/1.064, allocations: 0.5128 MB / 1.315 GB, free: 14.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001116/1.065, allocations: 0.5213 MB / 1.316 GB, free: 14.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001796/1.067, allocations: 0.7061 MB / 1.317 GB, free: 13.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/1.067, allocations: 0 / 1.317 GB, free: 13.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002825/1.07, allocations: 0.9967 MB / 1.318 GB, free: 12.28 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.07, allocations: 4 kB / 1.318 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.07, allocations: 8 kB / 1.318 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/1.071, allocations: 305.5 kB / 1.318 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/1.072, allocations: 127.8 kB / 1.318 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/1.073, allocations: 0.8987 MB / 1.319 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.074, allocations: 135.6 kB / 1.319 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/1.074, allocations: 28 kB / 1.319 GB, free: 10.76 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000265/1.075, allocations: 224.6 kB / 1.319 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/1.075, allocations: 110.6 kB / 1.319 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002361/1.077, allocations: 0.9145 MB / 1.32 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.077, allocations: 8 kB / 1.32 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.077, allocations: 0 / 1.32 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/1.077, allocations: 3.984 kB / 1.32 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/1.082, allocations: 2.149 MB / 1.322 GB, free: 7.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.083, allocations: 4 kB / 1.322 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/1.083, allocations: 68.17 kB / 1.322 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009988/1.084, allocations: 300.5 kB / 1.323 GB, free: 6.883 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/1.084, allocations: 11.94 kB / 1.323 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/1.085, allocations: 0.9287 MB / 1.324 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.085, allocations: 3.984 kB / 1.324 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/1.089, allocations: 1.152 MB / 1.325 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/1.09, allocations: 259.5 kB / 1.325 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.09, allocations: 16 kB / 1.325 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008401/1.091, allocations: 71.91 kB / 1.325 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.091, allocations: 43.77 kB / 1.325 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/1.091, allocations: 23.98 kB / 1.325 GB, free: 4.285 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001187/1.092, allocations: 0.7551 MB / 1.326 GB, free: 3.523 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.092, allocations: 0 / 1.326 GB, free: 3.523 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001578/1.094, allocations: 0.5614 MB / 1.326 GB, free: 2.961 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007949/1.094, allocations: 383.5 kB / 1.327 GB, free: 2.586 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003308/1.098, allocations: 1.122 MB / 1.328 GB, free: 1.469 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.098, allocations: 4 kB / 1.328 GB, free: 1.465 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0009171/1.099, allocations: 350.8 kB / 1.328 GB, free: 1.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.101, allocations: 0.4957 MB / 1.329 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/1.107, allocations: 2.044 MB / 1.331 GB, free: 14.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/1.107, allocations: 1.053 MB / 1.332 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/1.107, allocations: 87.41 kB / 1.332 GB, free: 13.36 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/1.107, allocations: 0 / 1.332 GB, free: 13.36 MB / 1.061 GB Notification: Performance of Templates: time 0.03129/1.139, allocations: 24.06 MB / 1.355 GB, free: 5.441 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches