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.008996/0.008996, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.002097/0.002097, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.84 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3616, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.8342/1.196, allocations: 61.2 MB / 1.267 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01642/1.212, allocations: 11.99 MB / 1.279 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003354/1.216, allocations: 59.69 kB / 1.279 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/1.219, allocations: 0.6963 MB / 1.28 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007372/1.226, allocations: 2.068 MB / 1.282 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004607/1.231, allocations: 1.21 MB / 1.283 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007617/1.238, allocations: 3.093 MB / 1.286 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/1.241, allocations: 1.097 MB / 1.287 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/1.246, allocations: 1.362 MB / 1.289 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/1.248, allocations: 0.9002 MB / 1.289 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005744/1.249, allocations: 114.4 kB / 1.29 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005356/1.254, allocations: 1.448 MB / 1.291 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008249/1.255, allocations: 290.2 kB / 1.291 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002314/1.257, allocations: 0.6929 MB / 1.292 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006978/1.264, allocations: 2.292 MB / 1.294 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.264, allocations: 3.938 kB / 1.294 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.846e-06/1.264, allocations: 0.8125 kB / 1.294 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.569e-05/1.265, allocations: 0 / 1.294 GB, free: 4.094 MB / 0.9981 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.004952/1.27, allocations: 1.721 MB / 1.296 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.27, allocations: 13.91 kB / 1.296 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/1.272, allocations: 406.2 kB / 1.296 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/1.275, allocations: 1.164 MB / 1.297 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/1.275, allocations: 67.97 kB / 1.297 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/1.275, allocations: 79 kB / 1.298 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/1.278, allocations: 0.995 MB / 1.298 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/1.278, allocations: 4.906 kB / 1.298 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.813e-05/1.278, allocations: 33.41 kB / 1.299 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/1.278, allocations: 19.41 kB / 1.299 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/1.28, allocations: 0.8476 MB / 1.299 GB, free: 1.266 MB / 0.9981 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.008489/1.289, allocations: 5.229 MB / 1.304 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/1.292, allocations: 0.7803 MB / 1.305 GB, free: 12.97 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007847/1.293, allocations: 298.5 kB / 1.306 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007924/1.294, allocations: 0.8994 MB / 1.306 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/1.294, allocations: 43.06 kB / 1.306 GB, free: 11.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/1.294, allocations: 0 / 1.306 GB, free: 11.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.007272/1.301, allocations: 1.695 MB / 1.308 GB, free: 11.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/1.301, allocations: 56.86 kB / 1.308 GB, free: 11.24 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002868/1.304, allocations: 1.075 MB / 1.309 GB, free: 10.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.304, allocations: 37.64 kB / 1.309 GB, free: 10.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006168/1.305, allocations: 0.5316 MB / 1.31 GB, free: 10.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/1.305, allocations: 150.4 kB / 1.31 GB, free: 10.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/1.305, allocations: 135.4 kB / 1.31 GB, free: 10.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.306, allocations: 333.9 kB / 1.31 GB, free: 9.828 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009733/1.307, allocations: 309.5 kB / 1.311 GB, free: 9.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.308, allocations: 0.53 MB / 1.311 GB, free: 9.355 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/1.31, allocations: 0.7088 MB / 1.312 GB, free: 8.953 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.31, allocations: 1.031 kB / 1.312 GB, free: 8.953 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003136/1.313, allocations: 1.003 MB / 1.313 GB, free: 8.582 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/1.313, allocations: 8.375 kB / 1.313 GB, free: 8.582 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/1.313, allocations: 6.125 kB / 1.313 GB, free: 8.582 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/1.314, allocations: 315.2 kB / 1.313 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/1.315, allocations: 124.7 kB / 1.313 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/1.316, allocations: 0.8995 MB / 1.314 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.318, allocations: 157.9 kB / 1.314 GB, free: 7.777 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.318, allocations: 31.48 kB / 1.314 GB, free: 7.773 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001396/1.32, allocations: 0.5087 MB / 1.315 GB, free: 7.527 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001153/1.321, allocations: 0.5202 MB / 1.315 GB, free: 7.164 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001718/1.322, allocations: 0.7086 MB / 1.316 GB, free: 6.758 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.091e-05/1.322, allocations: 3.172 kB / 1.316 GB, free: 6.758 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002901/1.325, allocations: 0.9987 MB / 1.317 GB, free: 6.387 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.325, allocations: 7.469 kB / 1.317 GB, free: 6.387 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.325, allocations: 7.109 kB / 1.317 GB, free: 6.387 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/1.327, allocations: 301.9 kB / 1.317 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/1.327, allocations: 124.2 kB / 1.317 GB, free: 6.301 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/1.329, allocations: 0.8987 MB / 1.318 GB, free: 5.645 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.33, allocations: 133 kB / 1.318 GB, free: 5.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.33, allocations: 30.55 kB / 1.318 GB, free: 5.605 MB / 1.014 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.0002893/1.331, allocations: 221.8 kB / 1.319 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/1.331, allocations: 112.4 kB / 1.319 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/1.334, allocations: 0.9191 MB / 1.32 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.334, allocations: 10.09 kB / 1.32 GB, free: 4.977 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.334, allocations: 1.453 kB / 1.32 GB, free: 4.977 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.334, allocations: 1.828 kB / 1.32 GB, free: 4.977 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005922/1.34, allocations: 2.137 MB / 1.322 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.34, allocations: 2.625 kB / 1.322 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/1.34, allocations: 64.06 kB / 1.322 GB, free: 3.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009373/1.341, allocations: 307.4 kB / 1.322 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/1.341, allocations: 20.75 kB / 1.322 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/1.342, allocations: 0.9328 MB / 1.323 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.342, allocations: 3.594 kB / 1.323 GB, free: 3.203 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/1.346, allocations: 1.145 MB / 1.324 GB, free: 2.688 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/1.347, allocations: 265 kB / 1.324 GB, free: 2.484 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/1.347, allocations: 8.688 kB / 1.324 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008773/1.348, allocations: 72.09 kB / 1.325 GB, free: 2.469 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.348, allocations: 44.44 kB / 1.325 GB, free: 2.453 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/1.348, allocations: 22.5 kB / 1.325 GB, free: 2.449 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001421/1.349, allocations: 0.7518 MB / 1.325 GB, free: 2.133 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.349, allocations: 1.094 kB / 1.325 GB, free: 2.133 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002185/1.352, allocations: 0.567 MB / 1.326 GB, free: 2.02 MB / 1.014 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.001115/1.353, allocations: 386.8 kB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003421/1.356, allocations: 1.121 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.356, allocations: 1.125 kB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/1.357, allocations: 347.9 kB / 1.328 GB, free: 1.395 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/1.359, allocations: 0.5049 MB / 1.328 GB, free: 1.223 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/1.365, allocations: 2.017 MB / 1.33 GB, free: 252 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/1.366, allocations: 1.071 MB / 1.331 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00127/1.367, allocations: 226.2 kB / 1.331 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/1.368, allocations: 76.5 kB / 1.331 GB, free: 15.44 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/1.368, allocations: 0 / 1.331 GB, free: 15.44 MB / 1.029 GB Notification: Performance of Templates: time 0.05193/1.42, allocations: 25.02 MB / 1.356 GB, free: 2.523 MB / 1.029 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/jenkins/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