Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01101/0.01101, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.002536/0.002536, allocations: 188.6 kB / 16.67 MB, free: 5.887 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.664/2.664, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 71.88 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08727/1.134, allocations: 75.31 MB / 1.294 GB, free: 6.531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03014/1.165, allocations: 12.78 MB / 1.307 GB, free: 9.727 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004134/1.169, allocations: 67.62 kB / 1.307 GB, free: 9.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003865/1.173, allocations: 0.8618 MB / 1.308 GB, free: 8.793 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/1.183, allocations: 2.595 MB / 1.31 GB, free: 6.188 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004624/1.188, allocations: 1.394 MB / 1.311 GB, free: 4.805 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008259/1.196, allocations: 4.399 MB / 1.316 GB, free: 400 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/1.199, allocations: 1.172 MB / 1.317 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005499/1.205, allocations: 1.648 MB / 1.318 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/1.208, allocations: 1.21 MB / 1.32 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008391/1.209, allocations: 160 kB / 1.32 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004275/1.213, allocations: 1.404 MB / 1.321 GB, free: 10.76 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008754/1.214, allocations: 418.4 kB / 1.322 GB, free: 10.35 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002295/1.216, allocations: 0.8982 MB / 1.322 GB, free: 9.445 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006634/1.223, allocations: 2.87 MB / 1.325 GB, free: 6.574 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.223, allocations: 4 kB / 1.325 GB, free: 6.57 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/1.223, allocations: 0 / 1.325 GB, free: 6.57 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001001/1.223, allocations: 0 / 1.325 GB, free: 6.57 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006165/1.229, allocations: 2.135 MB / 1.327 GB, free: 4.363 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/1.229, allocations: 8.031 kB / 1.327 GB, free: 4.355 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/1.23, allocations: 243.7 kB / 1.328 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/1.234, allocations: 1.53 MB / 1.329 GB, free: 2.535 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/1.234, allocations: 77.98 kB / 1.329 GB, free: 2.457 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/1.234, allocations: 100 kB / 1.329 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/1.237, allocations: 1.1 MB / 1.33 GB, free: 1.227 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/1.237, allocations: 11.94 kB / 1.33 GB, free: 1.215 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/1.237, allocations: 36 kB / 1.33 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/1.237, allocations: 27.98 kB / 1.33 GB, free: 1.152 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/1.239, allocations: 0.8861 MB / 1.331 GB, free: 272 kB / 1.045 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.00627/1.245, allocations: 4.905 MB / 1.336 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/1.247, allocations: 0.5962 MB / 1.337 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007511/1.247, allocations: 330.8 kB / 1.337 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008401/1.248, allocations: 0.8238 MB / 1.338 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.248, allocations: 47.12 kB / 1.338 GB, free: 9.082 MB / 1.061 GB Notification: Performance of pre-optimization done (n=61): time 6.261e-06/1.248, allocations: 3.984 kB / 1.338 GB, free: 9.078 MB / 1.061 GB Notification: Performance of matching and sorting (n=61): time 0.00966/1.258, allocations: 1.682 MB / 1.339 GB, free: 7.371 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/1.258, allocations: 55.97 kB / 1.339 GB, free: 7.305 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/1.261, allocations: 1.229 MB / 1.341 GB, free: 6.059 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002068/1.261, allocations: 37.7 kB / 1.341 GB, free: 6.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007673/1.262, allocations: 0.6112 MB / 1.341 GB, free: 5.398 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/1.262, allocations: 222.1 kB / 1.342 GB, free: 5.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/1.263, allocations: 154.6 kB / 1.342 GB, free: 5.023 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002104/1.263, allocations: 341.9 kB / 1.342 GB, free: 4.684 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/1.264, allocations: 292.6 kB / 1.342 GB, free: 4.395 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/1.265, allocations: 491.8 kB / 1.343 GB, free: 3.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/1.268, allocations: 0.709 MB / 1.343 GB, free: 3.078 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.268, allocations: 4 kB / 1.343 GB, free: 3.074 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007309/1.275, allocations: 1.277 MB / 1.345 GB, free: 1.785 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/1.275, allocations: 8.375 kB / 1.345 GB, free: 1.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.275, allocations: 4 kB / 1.345 GB, free: 1.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008538/1.276, allocations: 136.7 kB / 1.345 GB, free: 1.637 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/1.277, allocations: 155.8 kB / 1.345 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/1.278, allocations: 0.7005 MB / 1.346 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.28, allocations: 123.2 kB / 1.346 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.28, allocations: 36.06 kB / 1.346 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001741/1.282, allocations: 0.5487 MB / 1.346 GB, free: 48 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/1.283, allocations: 495.8 kB / 1.347 GB, free: 15.49 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00189/1.285, allocations: 0.7012 MB / 1.348 GB, free: 14.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/1.285, allocations: 0 / 1.348 GB, free: 14.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.006696/1.292, allocations: 1.27 MB / 1.349 GB, free: 13.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.292, allocations: 8 kB / 1.349 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.292, allocations: 4 kB / 1.349 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007243/1.292, allocations: 145 kB / 1.349 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/1.293, allocations: 155.8 kB / 1.349 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/1.294, allocations: 0.7045 MB / 1.35 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.296, allocations: 95.59 kB / 1.35 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/1.296, allocations: 31.98 kB / 1.35 GB, free: 12.3 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000347/1.297, allocations: 228.1 kB / 1.35 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/1.297, allocations: 147 kB / 1.35 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006367/1.303, allocations: 1.26 MB / 1.351 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/1.303, allocations: 7.984 kB / 1.351 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/1.303, allocations: 0 / 1.351 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005839/1.309, allocations: 1.096 MB / 1.353 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/1.319, allocations: 2.614 MB / 1.355 GB, free: 6.781 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.319, allocations: 4 kB / 1.355 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/1.32, allocations: 115.8 kB / 1.355 GB, free: 6.664 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007271/1.321, allocations: 129 kB / 1.355 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/1.321, allocations: 19.94 kB / 1.355 GB, free: 6.516 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007723/1.328, allocations: 2.591 MB / 1.358 GB, free: 3.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.328, allocations: 7.938 kB / 1.358 GB, free: 3.762 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008464/1.337, allocations: 1.7 MB / 1.36 GB, free: 1.996 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/1.338, allocations: 308 kB / 1.36 GB, free: 1.676 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000325/1.338, allocations: 19.98 kB / 1.36 GB, free: 1.656 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.34, allocations: 52 kB / 1.36 GB, free: 1.605 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/1.34, allocations: 56.25 kB / 1.36 GB, free: 1.551 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.34, allocations: 43.97 kB / 1.36 GB, free: 1.508 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002118/1.342, allocations: 0.8777 MB / 1.361 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/1.342, allocations: 0 / 1.361 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003132/1.345, allocations: 0.7252 MB / 1.362 GB, free: 15.9 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/1.347, allocations: 472.4 kB / 1.362 GB, free: 15.44 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003964/1.351, allocations: 1.055 MB / 1.363 GB, free: 14.39 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.351, allocations: 4.188 kB / 1.363 GB, free: 14.39 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/1.353, allocations: 0.5406 MB / 1.364 GB, free: 13.84 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00523/1.358, allocations: 0.8051 MB / 1.364 GB, free: 13.05 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/1.364, allocations: 2.296 MB / 1.367 GB, free: 10.67 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/1.365, allocations: 1.172 MB / 1.368 GB, free: 9.473 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001756/1.367, allocations: 306.9 kB / 1.368 GB, free: 9.168 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/1.367, allocations: 111.4 kB / 1.368 GB, free: 9.059 MB / 1.092 GB Notification: Performance of SimCode: time 1.743e-06/1.367, allocations: 0 / 1.368 GB, free: 9.059 MB / 1.092 GB Notification: Performance of Templates: time 0.08191/1.449, allocations: 32.44 MB / 1.4 GB, free: 8.992 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches