Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00728/0.00728, allocations: 97.83 kB / 15.73 MB, free: 6.07 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.001506/0.001506, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 469.8 MB / 0.7425 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.005, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05942/1.065, allocations: 61.31 MB / 1.28 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02041/1.085, allocations: 12.01 MB / 1.292 GB, free: 8.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/1.088, allocations: 59.62 kB / 1.292 GB, free: 8.477 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002318/1.09, allocations: 0.7064 MB / 1.293 GB, free: 7.766 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006891/1.097, allocations: 2.068 MB / 1.295 GB, free: 5.688 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003658/1.101, allocations: 1.207 MB / 1.296 GB, free: 4.488 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004763/1.106, allocations: 3.081 MB / 1.299 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/1.107, allocations: 0.8929 MB / 1.3 GB, free: 488 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/1.111, allocations: 1.365 MB / 1.301 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/1.113, allocations: 0.8945 MB / 1.302 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003652/1.113, allocations: 112 kB / 1.302 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/1.117, allocations: 1.447 MB / 1.304 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00035/1.117, allocations: 306.7 kB / 1.304 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009503/1.118, allocations: 0.6842 MB / 1.305 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003727/1.122, allocations: 2.313 MB / 1.307 GB, free: 9.352 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.122, allocations: 4 kB / 1.307 GB, free: 9.348 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/1.122, allocations: 0 / 1.307 GB, free: 9.348 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.479e-05/1.122, allocations: 0 / 1.307 GB, free: 9.348 MB / 1.029 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.003037/1.125, allocations: 1.771 MB / 1.309 GB, free: 7.516 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.125, allocations: 8.031 kB / 1.309 GB, free: 7.508 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/1.127, allocations: 415.6 kB / 1.309 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/1.129, allocations: 1.172 MB / 1.31 GB, free: 5.871 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/1.129, allocations: 62 kB / 1.31 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.129, allocations: 84 kB / 1.31 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.131, allocations: 1.001 MB / 1.311 GB, free: 4.668 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/1.131, allocations: 3.938 kB / 1.311 GB, free: 4.664 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/1.131, allocations: 32 kB / 1.311 GB, free: 4.633 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/1.131, allocations: 20 kB / 1.311 GB, free: 4.613 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/1.133, allocations: 0.8469 MB / 1.312 GB, free: 3.77 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.006776/1.14, allocations: 5.228 MB / 1.317 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/1.143, allocations: 0.763 MB / 1.318 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006698/1.144, allocations: 285.2 kB / 1.318 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008374/1.145, allocations: 0.9102 MB / 1.319 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/1.145, allocations: 38.56 kB / 1.319 GB, free: 11.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 3.106e-06/1.145, allocations: 0 / 1.319 GB, free: 11.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=43): time 0.006951/1.152, allocations: 1.692 MB / 1.321 GB, free: 10.23 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/1.152, allocations: 55.41 kB / 1.321 GB, free: 10.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.154, allocations: 1.076 MB / 1.322 GB, free: 9.074 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/1.154, allocations: 41.64 kB / 1.322 GB, free: 9.027 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/1.154, allocations: 0.532 MB / 1.323 GB, free: 8.492 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/1.155, allocations: 170.6 kB / 1.323 GB, free: 8.324 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/1.155, allocations: 134.3 kB / 1.323 GB, free: 8.184 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.155, allocations: 329.9 kB / 1.323 GB, free: 7.855 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/1.156, allocations: 307.3 kB / 1.324 GB, free: 7.555 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/1.157, allocations: 0.529 MB / 1.324 GB, free: 6.926 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/1.159, allocations: 0.7094 MB / 1.325 GB, free: 6.145 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/1.159, allocations: 4 kB / 1.325 GB, free: 6.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003372/1.162, allocations: 1.009 MB / 1.326 GB, free: 5.121 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/1.162, allocations: 8 kB / 1.326 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.162, allocations: 4 kB / 1.326 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/1.163, allocations: 308.7 kB / 1.326 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/1.164, allocations: 135.7 kB / 1.326 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/1.165, allocations: 0.8958 MB / 1.327 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/1.167, allocations: 151.4 kB / 1.327 GB, free: 3.602 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-05/1.167, allocations: 35.98 kB / 1.327 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001278/1.168, allocations: 0.5051 MB / 1.328 GB, free: 3.059 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001013/1.169, allocations: 0.529 MB / 1.328 GB, free: 2.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001559/1.171, allocations: 0.7022 MB / 1.329 GB, free: 1.656 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/1.171, allocations: 0 / 1.329 GB, free: 1.656 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002643/1.173, allocations: 1.005 MB / 1.33 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.173, allocations: 7.938 kB / 1.33 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.173, allocations: 8 kB / 1.33 GB, free: 0.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.174, allocations: 303.1 kB / 1.33 GB, free: 336 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/1.175, allocations: 127.8 kB / 1.33 GB, free: 208 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/1.176, allocations: 0.9034 MB / 1.331 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.178, allocations: 135.6 kB / 1.331 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/1.178, allocations: 31.98 kB / 1.331 GB, free: 15.11 MB / 1.061 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.000334/1.178, allocations: 220.1 kB / 1.332 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/1.179, allocations: 115.2 kB / 1.332 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/1.181, allocations: 0.9145 MB / 1.333 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.181, allocations: 8 kB / 1.333 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.181, allocations: 0 / 1.333 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.181, allocations: 3.984 kB / 1.333 GB, free: 13.83 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/1.186, allocations: 2.142 MB / 1.335 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.186, allocations: 0 / 1.335 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/1.187, allocations: 68.17 kB / 1.335 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/1.188, allocations: 292.6 kB / 1.335 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/1.188, allocations: 11.94 kB / 1.335 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/1.189, allocations: 0.9288 MB / 1.336 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.189, allocations: 0 / 1.336 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/1.193, allocations: 1.149 MB / 1.337 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/1.193, allocations: 268.2 kB / 1.337 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/1.194, allocations: 8 kB / 1.337 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/1.194, allocations: 71.92 kB / 1.337 GB, free: 8.734 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/1.195, allocations: 43.77 kB / 1.337 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/1.195, allocations: 23.98 kB / 1.337 GB, free: 8.668 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001406/1.196, allocations: 0.7551 MB / 1.338 GB, free: 7.906 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.196, allocations: 4 kB / 1.338 GB, free: 7.902 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001965/1.198, allocations: 0.573 MB / 1.339 GB, free: 7.328 MB / 1.061 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.001056/1.199, allocations: 386.5 kB / 1.339 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003207/1.202, allocations: 1.082 MB / 1.34 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.202, allocations: 0 / 1.34 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008528/1.203, allocations: 326.5 kB / 1.34 GB, free: 5.551 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/1.205, allocations: 0.5046 MB / 1.341 GB, free: 5.047 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/1.211, allocations: 2.061 MB / 1.343 GB, free: 2.926 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/1.212, allocations: 1.069 MB / 1.344 GB, free: 1.828 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001096/1.213, allocations: 224.8 kB / 1.344 GB, free: 1.605 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/1.214, allocations: 75.42 kB / 1.344 GB, free: 1.531 MB / 1.061 GB Notification: Performance of SimCode: time 1.743e-06/1.214, allocations: 4 kB / 1.344 GB, free: 1.527 MB / 1.061 GB Notification: Performance of Templates: time 0.04904/1.263, allocations: 25.12 MB / 1.369 GB, free: 8.707 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches