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.00736/0.00736, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001548/0.001548, allocations: 199.7 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 68.11 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.035, 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.09273/1.128, allocations: 61.2 MB / 1.267 GB, free: 192 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02632/1.155, allocations: 11.99 MB / 1.279 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003947/1.159, allocations: 59.62 kB / 1.279 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00306/1.162, allocations: 0.6752 MB / 1.28 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007798/1.17, allocations: 1.974 MB / 1.282 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/1.174, allocations: 1.203 MB / 1.283 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00453/1.178, allocations: 3.09 MB / 1.286 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/1.18, allocations: 1.099 MB / 1.287 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/1.183, allocations: 1.358 MB / 1.288 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/1.184, allocations: 0.8906 MB / 1.289 GB, free: 9.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/1.184, allocations: 112 kB / 1.289 GB, free: 9.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/1.188, allocations: 1.447 MB / 1.291 GB, free: 8.211 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/1.188, allocations: 290.9 kB / 1.291 GB, free: 7.926 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007606/1.189, allocations: 0.6919 MB / 1.292 GB, free: 7.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00348/1.192, allocations: 2.296 MB / 1.294 GB, free: 4.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.192, allocations: 3.938 kB / 1.294 GB, free: 4.926 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/1.192, allocations: 0 / 1.294 GB, free: 4.926 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.701e-05/1.192, allocations: 0 / 1.294 GB, free: 4.926 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.003499/1.196, allocations: 1.723 MB / 1.296 GB, free: 3.141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.196, allocations: 11.97 kB / 1.296 GB, free: 3.129 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/1.198, allocations: 410.8 kB / 1.296 GB, free: 2.727 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/1.2, allocations: 1.163 MB / 1.297 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/1.2, allocations: 62 kB / 1.297 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/1.2, allocations: 80 kB / 1.297 GB, free: 1.367 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/1.202, allocations: 1.009 MB / 1.298 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.202, allocations: 3.938 kB / 1.298 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/1.202, allocations: 35.94 kB / 1.298 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/1.202, allocations: 20 kB / 1.298 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/1.205, allocations: 0.843 MB / 1.299 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.006656/1.211, allocations: 5.218 MB / 1.304 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/1.215, allocations: 0.7881 MB / 1.305 GB, free: 9.008 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/1.215, allocations: 290.5 kB / 1.305 GB, free: 8.723 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007688/1.216, allocations: 0.9025 MB / 1.306 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/1.216, allocations: 38.5 kB / 1.306 GB, free: 7.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.876e-06/1.216, allocations: 0 / 1.306 GB, free: 7.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.007066/1.223, allocations: 1.696 MB / 1.308 GB, free: 5.844 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.223, allocations: 59.41 kB / 1.308 GB, free: 5.773 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/1.225, allocations: 1.076 MB / 1.309 GB, free: 4.684 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/1.225, allocations: 33.7 kB / 1.309 GB, free: 4.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/1.226, allocations: 0.5312 MB / 1.31 GB, free: 4.109 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/1.226, allocations: 153.8 kB / 1.31 GB, free: 3.957 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/1.226, allocations: 142.1 kB / 1.31 GB, free: 3.809 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.226, allocations: 329.9 kB / 1.31 GB, free: 3.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008437/1.227, allocations: 303.3 kB / 1.311 GB, free: 3.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/1.228, allocations: 0.5251 MB / 1.311 GB, free: 2.559 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/1.23, allocations: 0.7135 MB / 1.312 GB, free: 1.773 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.23, allocations: 0 / 1.312 GB, free: 1.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002707/1.233, allocations: 1.016 MB / 1.313 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.233, allocations: 8 kB / 1.313 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.233, allocations: 4 kB / 1.313 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/1.234, allocations: 315.1 kB / 1.313 GB, free: 436 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/1.234, allocations: 127.8 kB / 1.313 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/1.236, allocations: 0.8918 MB / 1.314 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.237, allocations: 151.2 kB / 1.314 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/1.237, allocations: 35.92 kB / 1.314 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001207/1.238, allocations: 0.509 MB / 1.315 GB, free: 14.69 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001023/1.24, allocations: 0.5174 MB / 1.315 GB, free: 14.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001596/1.241, allocations: 0.7099 MB / 1.316 GB, free: 13.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/1.241, allocations: 0 / 1.316 GB, free: 13.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002706/1.244, allocations: 1 MB / 1.317 GB, free: 12.28 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.244, allocations: 8 kB / 1.317 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.244, allocations: 4 kB / 1.317 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/1.245, allocations: 309.4 kB / 1.317 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/1.246, allocations: 127.8 kB / 1.317 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/1.247, allocations: 0.8948 MB / 1.318 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.249, allocations: 135.5 kB / 1.318 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.249, allocations: 31.98 kB / 1.318 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.0003115/1.249, allocations: 216.7 kB / 1.319 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/1.249, allocations: 114.6 kB / 1.319 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/1.252, allocations: 0.9184 MB / 1.32 GB, free: 9.488 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.252, allocations: 4 kB / 1.32 GB, free: 9.484 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.252, allocations: 4 kB / 1.32 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.252, allocations: 3.984 kB / 1.32 GB, free: 9.477 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/1.257, allocations: 2.149 MB / 1.322 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.257, allocations: 4.219 kB / 1.322 GB, free: 7.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/1.257, allocations: 63.89 kB / 1.322 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009548/1.258, allocations: 297.9 kB / 1.322 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/1.258, allocations: 15.94 kB / 1.322 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/1.26, allocations: 0.923 MB / 1.323 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.26, allocations: 0 / 1.323 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/1.263, allocations: 1.152 MB / 1.324 GB, free: 4.719 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/1.264, allocations: 263.5 kB / 1.324 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.264, allocations: 12 kB / 1.324 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000774/1.265, allocations: 67.91 kB / 1.324 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.323e-05/1.265, allocations: 47.77 kB / 1.324 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/1.265, allocations: 20 kB / 1.324 GB, free: 4.297 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001143/1.266, allocations: 0.7551 MB / 1.325 GB, free: 3.535 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.4e-07/1.266, allocations: 4 kB / 1.325 GB, free: 3.531 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001533/1.267, allocations: 0.5614 MB / 1.326 GB, free: 2.969 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.0007836/1.268, allocations: 386.7 kB / 1.326 GB, free: 2.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003104/1.271, allocations: 1.122 MB / 1.327 GB, free: 1.473 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.271, allocations: 0 / 1.327 GB, free: 1.473 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/1.272, allocations: 346.8 kB / 1.328 GB, free: 1.133 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.275, allocations: 0.5112 MB / 1.328 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/1.28, allocations: 2.011 MB / 1.33 GB, free: 14.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/1.28, allocations: 1.061 MB / 1.331 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008914/1.281, allocations: 228.8 kB / 1.331 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/1.282, allocations: 79.42 kB / 1.331 GB, free: 13.16 MB / 1.061 GB Notification: Performance of SimCode: time 7.82e-07/1.282, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.061 GB Notification: Performance of Templates: time 0.04043/1.322, allocations: 25.52 MB / 1.356 GB, free: 3.934 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/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